From b3f55cb5b2a1490c2bbe3c6ab147c943223b3608 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 7 Jan 2024 17:48:14 +1100 Subject: apa102: cleanups (#22826) --- drivers/led/apa102.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/led/apa102.h') 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); -- cgit v1.2.3