diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-07 07:30:40 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-07 07:30:40 -0700 |
commit | 0231caa25aa258a79a7fb73cc57723655055b928 (patch) | |
tree | 90624a1942962dcf78a50a5c13bc355c1f43a321 /keyboards/facew/facew.c | |
parent | 5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (diff) | |
download | qmk_firmware-0231caa25aa258a79a7fb73cc57723655055b928.tar.gz |
[Keyboard] Refactor FaceW for new BMC changes (#5575)
* use #pragma once for guards
* update readme and fix pyusb install instructions
* replace custom i2c code with QMK i2c_master
* remove unneeded code from config.h
* fix keyboard name
* remove custom matrix and i2c driver
* turn off bootmagic, turn on leds
* remove keymap in favor of userspace/community layouts keymap
* remove custom matrix
* update readme
Diffstat (limited to 'keyboards/facew/facew.c')
-rw-r--r-- | keyboards/facew/facew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/facew/facew.c b/keyboards/facew/facew.c index 9c255c68f..7ec56548b 100644 --- a/keyboards/facew/facew.c +++ b/keyboards/facew/facew.c @@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <avr/pgmspace.h> #include "action_layer.h" -#include "i2c.h" +#include "i2c_master.h" #include "quantum.h" #ifdef RGBLIGHT_ENABLE @@ -42,7 +42,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 |