aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/exclusive/e6v2/bmc/bmc.c
diff options
context:
space:
mode:
authorGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-28 12:52:57 -0700
committerGravatar Drashna Jaelre <drashna@live.com>2019-03-28 12:52:57 -0700
commit6f6ab261e6bf44c49efedee7ebb769746ca70df7 (patch)
tree9caa881ac583ff1494ce8204addb891e66faa9fe /keyboards/exclusive/e6v2/bmc/bmc.c
parent2352afb3839431c024113a3dd197251cf8951591 (diff)
downloadqmk_firmware-6f6ab261e6bf44c49efedee7ebb769746ca70df7.tar.gz
[Keyboard] revert back to the old custom i2c code for bmc (#5501)
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 257b68b8b..e3dd244c5 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_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