diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-07 07:34:01 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-07 07:34:01 -0700 |
commit | a8e3462b4bd5706f17f460e36b88b4063ef148f6 (patch) | |
tree | 71347d261fd54c053893d7364ed3b2e0b827b050 /keyboards/donutcables/budget96/budget96.c | |
parent | b8f7834051f601d028b8182077322c1b45d7c112 (diff) |
[Keyboard] Refactor budget96 to remove custom i2c code in favor of QMK i2c_master (#5571)
* remove custom i2c code in favor of QMK i2c_master
* fix readme
* disable bootmagic as it doesn't work on bmc boards
Diffstat (limited to 'keyboards/donutcables/budget96/budget96.c')
-rw-r--r-- | keyboards/donutcables/budget96/budget96.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/donutcables/budget96/budget96.c b/keyboards/donutcables/budget96/budget96.c index 966dd4c129..7831a91f52 100644 --- a/keyboards/donutcables/budget96/budget96.c +++ b/keyboards/donutcables/budget96/budget96.c @@ -25,7 +25,7 @@ #include <avr/pgmspace.h> #include "action_layer.h" -#include "i2c.h" +#include "i2c_master.h" #include "quantum.h" __attribute__ ((weak)) @@ -45,7 +45,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 |