Bugfix in HAL for LEDs. Static variable leds did not get updated.
This commit is contained in:
parent
54f2cbe6ab
commit
828ed7a9c6
@ -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);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user