Skip to content

Commit

Permalink
[led] fix compilation warning for lisa/l
Browse files Browse the repository at this point in the history
not a proper DISABLE function, but lisa/l is not really used anyway
  • Loading branch information
gautierhattenberger authored and podhrmic committed Mar 19, 2017
1 parent cf977fc commit 12b01e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sw/airborne/arch/stm32/led_hw.h
Expand Up @@ -90,6 +90,7 @@ extern uint8_t led_status[NB_LED];
#define LED_ON(i) { led_status[i] = true; }
#define LED_OFF(i) { led_status[i] = false; }
#define LED_TOGGLE(i) {led_status[i] = !led_status[i];}
#define LED_DISABLE(i) LED_OFF(i)

#define LED_PERIODIC() { \
for (uint8_t _cnt = 0; _cnt < NB_LED; _cnt++) { \
Expand Down

0 comments on commit 12b01e2

Please sign in to comment.