AP_Notify: remove unused variables

This commit is contained in:
Peter Barker 2020-09-30 11:28:21 +10:00 committed by Peter Barker
parent 3a8751d8a7
commit b024ff8ea4
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,9 @@ public:
void update(void) override;
private:
#if (defined(HAL_GPIO_A_LED_PIN) && defined(HAL_GPIO_B_LED_PIN) && \
defined(HAL_GPIO_C_LED_PIN))
// counter incremented at 50Hz
uint8_t _counter;
#endif
};

View File

@ -33,7 +33,9 @@ public:
private:
// counter incremented at 50Hz
uint8_t _counter;
#if defined(HAL_GPIO_A_LED_PIN) && defined(HAL_GPIO_B_LED_PIN)
uint16_t _sat_cnt;
uint8_t save_trim_counter;
uint8_t arm_counter = 0;
#endif
};