Bugfix in HAL for LEDs. Static variable leds did not get updated.

This commit is contained in:
Xenofon (Fontas) Fafoutis 2017-11-13 13:05:08 +00:00
parent 54f2cbe6ab
commit 828ed7a9c6

View File

@ -38,6 +38,9 @@ static unsigned char leds;
static inline void static inline void
show_leds(unsigned char new_leds) show_leds(unsigned char new_leds)
{ {
leds = new_leds;
leds_arch_set(new_leds); leds_arch_set(new_leds);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/