diff options
author | mechmerlin <mechmerlin@gmail.com> | 2019-04-06 18:30:15 -0700 |
---|---|---|
committer | mechmerlin <mechmerlin@gmail.com> | 2019-04-06 18:30:15 -0700 |
commit | 44435d74447df0b190e02201181416d3d4b8cdff (patch) | |
tree | 066eeac7f77569900036dce1d17e1e5d6a8f19dd /keyboards/exclusive/e6v2/bmc/bmc.c | |
parent | 5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (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.c | 4 |
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 |