Lift out the LED brightness into a global
Instead of passing the same constant to LedDisplay_SetLayerLed() all the time, lift it out into a global. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "led_driver.h"
|
||||
|
||||
void LedDisplay_SetLayerLed(uint8_t layerId, uint8_t brightness);
|
||||
extern uint8_t LedDisplayBrightness;
|
||||
|
||||
void LedDisplay_SetLayerLed(uint8_t layerId);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user