From 0231caa25aa258a79a7fb73cc57723655055b928 Mon Sep 17 00:00:00 2001
From: MechMerlin <30334081+mechmerlin@users.noreply.github.com>
Date: Sun, 7 Apr 2019 07:30:40 -0700
Subject: [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
---
keyboards/facew/facew.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'keyboards/facew/facew.c')
diff --git a/keyboards/facew/facew.c b/keyboards/facew/facew.c
index 9c255c68f4..7ec56548b1 100644
--- a/keyboards/facew/facew.c
+++ b/keyboards/facew/facew.c
@@ -26,7 +26,7 @@ along with this program. If not, see .
#include
#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
--
cgit v1.2.3