diff options
author | Drashna Jaelre <drashna@live.com> | 2019-04-07 07:33:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-07 07:33:10 -0700 |
commit | b8f7834051f601d028b8182077322c1b45d7c112 (patch) | |
tree | 5a15ff5889edff2409270e65cd8aae7e9a623083 /keyboards/exclusive/e6v2/bmc/bmc.c | |
parent | 18a9f7999e15dd234dda55f7946df829ce11d54b (diff) | |
parent | 1b9f82c8445368dce0e0ada9af1f43956093fa98 (diff) | |
download | qmk_firmware-b8f7834051f601d028b8182077322c1b45d7c112.tar.gz qmk_firmware-b8f7834051f601d028b8182077322c1b45d7c112.zip |
Refactor E6V2 BMC PCB to get rid of custom i2c code in favor of QMK i2c_master (#5572)
* remove custom i2c code in favor of QMK i2c_master
* clean up config file
* fix pyusb install instructions
* fix naming in usbconfig.h
* disable bootmagic as it does not work for bmc boards
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 |