From 049b255e0227bbf15b4bbc9a992570df2469f80a Mon Sep 17 00:00:00 2001 From: Anders Hoglund Date: Thu, 4 Aug 2016 14:20:39 +0200 Subject: [PATCH] Move PIDweight to a common place. pid_legacy should not depend on pid_betaflight. --- src/main/flight/pid_betaflight.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/flight/pid_betaflight.c b/src/main/flight/pid_betaflight.c index 030324065d..058e587603 100644 --- a/src/main/flight/pid_betaflight.c +++ b/src/main/flight/pid_betaflight.c @@ -62,9 +62,6 @@ extern biquadFilter_t dtermFilterNotch[3]; extern bool dtermNotchInitialised; extern bool dtermBiquadLpfInitialised; -// PIDweight is a scale factor for PIDs which is derived from the throttle and TPA setting, and 100 = 100% scale means no PID reduction -uint8_t PIDweight[3]; - void initFilters(const pidProfile_t *pidProfile); float getdT(void);