summaryrefslogtreecommitdiff
path: root/drivers/led/issi/is31fl3741.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/issi/is31fl3741.c')
-rw-r--r--drivers/led/issi/is31fl3741.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/led/issi/is31fl3741.c b/drivers/led/issi/is31fl3741.c
index 7de649ec91..a6cb661d91 100644
--- a/drivers/led/issi/is31fl3741.c
+++ b/drivers/led/issi/is31fl3741.c
@@ -19,6 +19,7 @@
#include "is31fl3741.h"
#include "i2c_master.h"
+#include "gpio.h"
#include "wait.h"
#define IS31FL3741_PWM_0_REGISTER_COUNT 180
@@ -141,6 +142,11 @@ void is31fl3741_write_pwm_buffer(uint8_t index) {
void is31fl3741_init_drivers(void) {
i2c_init();
+#if defined(IS31FL3741_SDB_PIN)
+ setPinOutput(IS31FL3741_SDB_PIN);
+ writePinHigh(IS31FL3741_SDB_PIN);
+#endif
+
for (uint8_t i = 0; i < IS31FL3741_DRIVER_COUNT; i++) {
is31fl3741_init(i);
}