Fix FAST_RAM_ZERO_INIT for static variable.

This commit is contained in:
Bruce Luckcuck 2018-06-23 15:46:58 -04:00
parent d663c478ab
commit dbdbc4819a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ enum {
#define RC_SMOOTHING_RX_RATE_MIN_US 5000 // 5ms or 200hz
#define RC_SMOOTHING_RX_RATE_MAX_US 50000 // 50ms or 20hz
static FAST_RAM rcSmoothingFilter_t rcSmoothingData;
static FAST_RAM_ZERO_INIT rcSmoothingFilter_t rcSmoothingData;
#endif // USE_RC_SMOOTHING_FILTER
float getSetpointRate(int axis)