diff options
author | MechMerlin <[email protected]> | 2019-04-06 18:08:57 -0700 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-04-06 18:08:57 -0700 |
commit | 5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (patch) | |
tree | 4bb67d40c1bb3d90204977d4d47306859fb2ec2a /keyboards/panc60/panc60.c | |
parent | 410984486b0a5c61174c6e4e5a3570f1b09f97dc (diff) | |
download | qmk_firmware-5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8.tar.gz qmk_firmware-5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8.zip |
[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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/panc60/panc60.c b/keyboards/panc60/panc60.c index 9ac087dbf2..16674d30d2 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 |