1
0
Fork 0

Add _flush() functions to LED drivers (#22308)

This commit is contained in:
Ryan 2023-10-23 03:32:27 +10:00 committed by GitHub
parent 1e9b299fb0
commit cf7d3435d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 346 additions and 319 deletions

View file

@ -166,3 +166,10 @@ void aw20216s_update_pwm_buffers(pin_t cs_pin, uint8_t index) {
}
g_pwm_buffer_update_required[index] = false;
}
void aw20216s_flush(void) {
aw20216s_update_pwm_buffers(AW20216S_CS_PIN_1, 0);
#if defined(AW20216S_CS_PIN_2)
aw20216s_update_pwm_buffers(AW20216S_CS_PIN_2, 1);
#endif
}