summaryrefslogtreecommitdiff
path: root/keyboards/gray_studio/hb85/hb85.c
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-07 07:34:31 -0700
committerDrashna Jaelre <drashna@live.com>2019-04-07 07:34:31 -0700
commitb262f20ad48be429848467074edcf62536d4d3e5 (patch)
tree885937820fe600632f357932cce77bab14c24ec6 /keyboards/gray_studio/hb85/hb85.c
parenta8e3462b4bd5706f17f460e36b88b4063ef148f6 (diff)
[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.c6
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 <luizribeiro@gmail.com>,
+Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>,
2019 fcoury <felipe.coury@gmail.com>
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