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
1 changed files with 3 additions and 0 deletions

View File

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