Browse Source

AP_Notify: remove unused variables

c415-sdk
Peter Barker 4 years ago committed by Peter Barker
parent
commit
b024ff8ea4
  1. 3
      libraries/AP_Notify/AP_BoardLED.h
  2. 2
      libraries/AP_Notify/AP_BoardLED2.h

3
libraries/AP_Notify/AP_BoardLED.h

@ -29,6 +29,9 @@ public: @@ -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
};

2
libraries/AP_Notify/AP_BoardLED2.h

@ -33,7 +33,9 @@ public: @@ -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
};

Loading…
Cancel
Save