diff options
author | HorrorTroll <sonicvipduc@gmail.com> | 2025-01-08 23:51:28 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 08:51:28 -0800 |
commit | c1565bebcef26c400801caa4447012c2b9fa0a62 (patch) | |
tree | f4657f3f8e74f6d23ab2cc097e854d6799ab04c7 /drivers/led/apa102.h | |
parent | 8247f9e11446bfc6655b52177678eff7529c27dc (diff) |
Patch up issue when compile with APA102 driver (#24800)
Diffstat (limited to 'drivers/led/apa102.h')
-rw-r--r-- | drivers/led/apa102.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/apa102.h b/drivers/led/apa102.h index 42f1344f0c..6fa3521a3a 100644 --- a/drivers/led/apa102.h +++ b/drivers/led/apa102.h @@ -32,7 +32,7 @@ #define APA102_MAX_BRIGHTNESS 31 void apa102_init(void); -void apa102_set_color(uint16_t index, uint8_t red, uint8_t green, uint8_t blue); +void apa102_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); void apa102_set_color_all(uint8_t red, uint8_t green, uint8_t blue); void apa102_flush(void); |