summaryrefslogtreecommitdiffstats
path: root/keyboards/panc60/panc60.c
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-07 03:08:57 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-07 03:08:57 +0200
commit5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (patch)
tree4bb67d40c1bb3d90204977d4d47306859fb2ec2a /keyboards/panc60/panc60.c
parent410984486b0a5c61174c6e4e5a3570f1b09f97dc (diff)
downloadqmk_firmware-5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8.tar.gz
qmk_firmware-5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8.tar.xz
[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
Diffstat (limited to 'keyboards/panc60/panc60.c')
-rw-r--r--keyboards/panc60/panc60.c4
1 files changed, 2 insertions, 2 deletions
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 <avr/pgmspace.h>
#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