]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/exclusive/e6v2/bmc/bmc.c
[Keyboard] revert back to the old custom i2c code for bmc (#5501)
[qmk_firmware.git] / keyboards / exclusive / e6v2 / bmc / bmc.c
index 257b68b8b4e879f9aa0279c1c6f9e79d71f4ccfe..e3dd244c516aad11fabbe5aef2670db8c6d8371a 100644 (file)
@@ -15,7 +15,7 @@
  */
 #include "bmc.h"
 #include "rgblight.h"
-#include "i2c_master.h"
+#include "i2c.h"
 
 void matrix_init_kb(void) {
        // put your keyboard start-up code here
@@ -57,7 +57,7 @@ void rgblight_set(void) {
     }
 
     i2c_init();
-    i2c_transmit(0xb0, (uint8_t*)led, 3 * RGBLED_NUM, 100);
+    i2c_send(0xb0, (uint8_t*)led, 3 * RGBLED_NUM);
 }
 #endif