diff options
author | Ryan <fauxpark@gmail.com> | 2024-01-07 17:48:14 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 17:48:14 +1100 |
commit | b3f55cb5b2a1490c2bbe3c6ab147c943223b3608 (patch) | |
tree | d4cd9219fc3d71847455c33f7ff364e66e07ef00 /drivers/led/apa102.h | |
parent | e5203f86e28a45c5f086b619537ec1f89e6bf582 (diff) |
apa102: cleanups (#22826)
Diffstat (limited to 'drivers/led/apa102.h')
-rw-r--r-- | drivers/led/apa102.h | 3 |
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); |