From 5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Sat, 6 Apr 2019 18:08:57 -0700 Subject: [Keyboard] Panc60 Refactor (#5559) * remove unneeded uart setting * use pragma once everywhere * remove custom matrix support * fixup readme * set bootmagic to lite * remove dependency on custom i2c code * use the right header files and function calls --- keyboards/panc60/panc60.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/panc60/panc60.c') diff --git a/keyboards/panc60/panc60.c b/keyboards/panc60/panc60.c index 9ac087dbf..16674d30d 100644 --- a/keyboards/panc60/panc60.c +++ b/keyboards/panc60/panc60.c @@ -24,7 +24,7 @@ #include #include "action_layer.h" -#include "i2c.h" +#include "i2c_master.h" #include "quantum.h" __attribute__ ((weak)) @@ -44,7 +44,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-24-g4f1b