aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/led/apa102.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/apa102.h')
-rw-r--r--drivers/led/apa102.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/apa102.h b/drivers/led/apa102.h
index e3b269883d..5e2f78658b 100644
--- a/drivers/led/apa102.h
+++ b/drivers/led/apa102.h
@@ -31,7 +31,7 @@
#define APA102_MAX_BRIGHTNESS 31
-extern uint8_t apa102_led_brightness;
+void apa102_init(void);
/* User Interface
*
@@ -44,4 +44,5 @@ extern uint8_t apa102_led_brightness;
* - Send out the LED data
*/
void apa102_setleds(rgb_led_t *start_led, uint16_t num_leds);
+
void apa102_set_brightness(uint8_t brightness);