summaryrefslogtreecommitdiffstats
path: root/keyboards/facew/facew.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/facew/facew.c')
-rw-r--r--keyboards/facew/facew.c4
1 files changed, 2 insertions, 2 deletions
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 <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