diff options
author | MechMerlin <[email protected]> | 2019-04-07 07:34:31 -0700 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-04-07 07:34:31 -0700 |
commit | b262f20ad48be429848467074edcf62536d4d3e5 (patch) | |
tree | 885937820fe600632f357932cce77bab14c24ec6 /keyboards/gray_studio/hb85/hb85.c | |
parent | a8e3462b4bd5706f17f460e36b88b4063ef148f6 (diff) | |
download | qmk_firmware-b262f20ad48be429848467074edcf62536d4d3e5.tar.gz qmk_firmware-b262f20ad48be429848467074edcf62536d4d3e5.zip |
[Keyboard] Refactor HB85 to get rid of custom i2c code (#5570)
* remove dependency on custom i2c code
* missed a pragma once
* fix readme install instructions
* config.h cleanup
* make the bootmagic key not the same bmc reset key
* disable bootmagic functionality as it doesn't seem to work on atmega32a bmc boards
Diffstat (limited to 'keyboards/gray_studio/hb85/hb85.c')
-rw-r--r-- | keyboards/gray_studio/hb85/hb85.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/gray_studio/hb85/hb85.c b/keyboards/gray_studio/hb85/hb85.c index 620a1817aa..3e42023587 100644 --- a/keyboards/gray_studio/hb85/hb85.c +++ b/keyboards/gray_studio/hb85/hb85.c @@ -1,5 +1,5 @@ /* -Copyright 2017 Luiz Ribeiro <[email protected]>, +Copyright 2017 Luiz Ribeiro <[email protected]>, 2019 fcoury <[email protected]> This program is free software: you can redistribute it and/or modify @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "rgblight.h" -#include "i2c.h" +#include "i2c_master.h" #include "quantum.h" #ifdef RGBLIGHT_ENABLE @@ -36,7 +36,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 |