summaryrefslogtreecommitdiff
path: root/drivers/led/aw20216s.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-23 03:32:27 +1000
committerGitHub <noreply@github.com>2023-10-22 18:32:27 +0100
commitcf7d3435d7e2cfb8927a1c436320f67bc9914eeb (patch)
tree272161a65714e8ba457d14af17a691becb7211ef /drivers/led/aw20216s.h
parent1e9b299fb0511e82ae60a4b39a1b277f4ea21afd (diff)
Add `_flush()` functions to LED drivers (#22308)
Diffstat (limited to 'drivers/led/aw20216s.h')
-rw-r--r--drivers/led/aw20216s.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/led/aw20216s.h b/drivers/led/aw20216s.h
index f8c0efcc6f..8abc2ee4af 100644
--- a/drivers/led/aw20216s.h
+++ b/drivers/led/aw20216s.h
@@ -68,6 +68,8 @@ void aw20216s_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);
void aw20216s_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
void aw20216s_update_pwm_buffers(pin_t cs_pin, uint8_t index);
+void aw20216s_flush(void);
+
#define CS1_SW1 0x00
#define CS2_SW1 0x01
#define CS3_SW1 0x02