diff options
author | Drashna Jaelre <[email protected]> | 2019-07-28 10:56:35 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-28 10:56:35 -0700 |
commit | c9424eb8d7586ccc2d72014df7b2223cb2645588 (patch) | |
tree | 533212fe003d5b7529d5075e87cc12fb2a2beb56 /keyboards/crkbd/rev1/rev1.h | |
parent | bbdc82dd36a95c6bb8dafca6ca87c9e87d5bc315 (diff) | |
download | qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.tar.gz qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.zip |
[Keyboard] Fix up and clean Corne Keyboard code (#6284)
* Fix corne communication issues with LTO
* Fix up other issues with corne code
* Fix indentation
* Clang Format rev1 file for Corne
Diffstat (limited to 'keyboards/crkbd/rev1/rev1.h')
-rw-r--r-- | keyboards/crkbd/rev1/rev1.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/keyboards/crkbd/rev1/rev1.h b/keyboards/crkbd/rev1/rev1.h index cdd61d2bf9..9023248e28 100644 --- a/keyboards/crkbd/rev1/rev1.h +++ b/keyboards/crkbd/rev1/rev1.h @@ -1,23 +1,28 @@ #pragma once -#include "../crkbd.h" +#include "crkbd.h" -//void promicro_bootloader_jmp(bool program); +// void promicro_bootloader_jmp(bool program); #include "quantum.h" -#ifdef RGBLIGHT_ENABLE -//rgb led driver -#include "ws2812.h" +#ifdef PROTOCOL_LUFA + #include "lufa.h" + #include "split_util.h" #endif -#ifdef USE_I2C -#include <stddef.h> -#ifdef __AVR__ - #include <avr/io.h> - #include <avr/interrupt.h> +#ifdef SSD1306OLED + #include "ssd1306.h" #endif + +#ifdef USE_I2C + #include <stddef.h> + #ifdef __AVR__ + #include <avr/interrupt.h> + #include <avr/io.h> + #endif #endif +// clang-format off //void promicro_bootloader_jmp(bool program); #define LAYOUT( \ L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ @@ -48,3 +53,4 @@ KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ KC_##L30, KC_##L31, KC_##L32, KC_##R30, KC_##R31, KC_##R32 \ ) +// clang-format on |