forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Refactor HB85 to get rid of custom i2c code (qmk#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
- Loading branch information
1 parent
a8e3462
commit b262f20
Showing
7 changed files
with
10 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters