summaryrefslogtreecommitdiffstats
path: root/keyboards/exclusive/e6v2/bmc/bmc.c
diff options
context:
space:
mode:
authormechmerlin <mechmerlin@gmail.com>2019-04-06 18:30:15 -0700
committermechmerlin <mechmerlin@gmail.com>2019-04-06 18:30:15 -0700
commit44435d74447df0b190e02201181416d3d4b8cdff (patch)
tree066eeac7f77569900036dce1d17e1e5d6a8f19dd /keyboards/exclusive/e6v2/bmc/bmc.c
parent5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (diff)
remove custom i2c code in favor of QMK i2c_master
Diffstat (limited to 'keyboards/exclusive/e6v2/bmc/bmc.c')
-rw-r--r--keyboards/exclusive/e6v2/bmc/bmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/exclusive/e6v2/bmc/bmc.c b/keyboards/exclusive/e6v2/bmc/bmc.c
index e3dd244c51..257b68b8b4 100644
--- a/keyboards/exclusive/e6v2/bmc/bmc.c
+++ b/keyboards/exclusive/e6v2/bmc/bmc.c
@@ -15,7 +15,7 @@
*/
#include "bmc.h"
#include "rgblight.h"
-#include "i2c.h"
+#include "i2c_master.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
@@ -57,7 +57,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