summaryrefslogtreecommitdiff
path: root/drivers/led/issi/is31fl3737-mono.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/issi/is31fl3737-mono.c')
-rw-r--r--drivers/led/issi/is31fl3737-mono.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/led/issi/is31fl3737-mono.c b/drivers/led/issi/is31fl3737-mono.c
index 11e23acb23..37d684cff0 100644
--- a/drivers/led/issi/is31fl3737-mono.c
+++ b/drivers/led/issi/is31fl3737-mono.c
@@ -19,6 +19,7 @@
#include "is31fl3737-mono.h"
#include "i2c_master.h"
+#include "gpio.h"
#include "wait.h"
#define IS31FL3737_PWM_REGISTER_COUNT 192 // actually 144
@@ -115,6 +116,11 @@ void is31fl3737_write_pwm_buffer(uint8_t index) {
void is31fl3737_init_drivers(void) {
i2c_init();
+#if defined(IS31FL3737_SDB_PIN)
+ setPinOutput(IS31FL3737_SDB_PIN);
+ writePinHigh(IS31FL3737_SDB_PIN);
+#endif
+
for (uint8_t i = 0; i < IS31FL3737_DRIVER_COUNT; i++) {
is31fl3737_init(i);
}