summaryrefslogtreecommitdiffstats
path: root/keyboards/gray_studio/hb85/hb85.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gray_studio/hb85/hb85.c')
-rw-r--r--keyboards/gray_studio/hb85/hb85.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/gray_studio/hb85/hb85.c b/keyboards/gray_studio/hb85/hb85.c
index 620a1817a..3e4202358 100644
--- a/keyboards/gray_studio/hb85/hb85.c
+++ b/keyboards/gray_studio/hb85/hb85.c
@@ -1,5 +1,5 @@
/*
-Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>,
+Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>,
2019 fcoury <felipe.coury@gmail.com>
This program is free software: you can redistribute it and/or modify
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "rgblight.h"
-#include "i2c.h"
+#include "i2c_master.h"
#include "quantum.h"
#ifdef RGBLIGHT_ENABLE
@@ -36,7 +36,7 @@ void rgblight_set(void) {
}
i2c_init();
- i2c_send(0xb0, (uint8_t*)led, 3 * RGBLED_NUM);
+ i2c_transmit(0xb0, (uint8_t*)led, 3 * RGBLED_NUM, 100);
}
#endif