1
0
Fork 0

LED drivers: add support for shutdown pin (#23058)

* LED drivers: add support for shutdown pin

* Update candidate boards
This commit is contained in:
Ryan 2024-02-15 18:11:50 +11:00 committed by GitHub
parent 0b7df03ab7
commit a9f1105f98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 164 additions and 159 deletions

View file

@ -20,6 +20,7 @@
#include "is31fl3742a.h"
#include "i2c_master.h"
#include "gpio.h"
#include "wait.h"
#define IS31FL3742A_PWM_REGISTER_COUNT 180
@ -114,6 +115,11 @@ void is31fl3742a_write_pwm_buffer(uint8_t index) {
void is31fl3742a_init_drivers(void) {
i2c_init();
#if defined(IS31FL3742A_SDB_PIN)
setPinOutput(IS31FL3742A_SDB_PIN);
writePinHigh(IS31FL3742A_SDB_PIN);
#endif
for (uint8_t i = 0; i < IS31FL3742A_DRIVER_COUNT; i++) {
is31fl3742a_init(i);
}