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>
11 lines
182 B
C
11 lines
182 B
C
#ifndef __LED_DISPLAY_H__
|
|
#define __LED_DISPLAY_H__
|
|
|
|
#include "led_driver.h"
|
|
|
|
extern uint8_t LedDisplayBrightness;
|
|
|
|
void LedDisplay_SetLayerLed(uint8_t layerId);
|
|
|
|
#endif
|