From 9dbee3e23d28e5f61384bbb5650505a572022341 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 16 Mar 2023 20:18:33 +1100 Subject: Remove useless "ifdef KEYBOARD_*" (#20078) Co-authored-by: Nick Brassel --- keyboards/xelus/dawn60/dawn60.c | 1 - keyboards/xelus/dawn60/dawn60.h | 24 ------------------------ keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c | 10 +++++----- 3 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 keyboards/xelus/dawn60/dawn60.c delete mode 100644 keyboards/xelus/dawn60/dawn60.h (limited to 'keyboards/xelus/dawn60') diff --git a/keyboards/xelus/dawn60/dawn60.c b/keyboards/xelus/dawn60/dawn60.c deleted file mode 100644 index 3e009b3bdf..0000000000 --- a/keyboards/xelus/dawn60/dawn60.c +++ /dev/null @@ -1 +0,0 @@ -#include "dawn60.h" diff --git a/keyboards/xelus/dawn60/dawn60.h b/keyboards/xelus/dawn60/dawn60.h deleted file mode 100644 index feec9b5e1d..0000000000 --- a/keyboards/xelus/dawn60/dawn60.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020 Harrison Chan (Xelus) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - -#include "quantum.h" - -#if defined(KEYBOARD_xelus_dawn60_rev1) - #include "rev1.h" -#elif defined(KEYBOARD_xelus_dawn60_rev1_qmk) - #include "rev1_qmk.h" -#endif diff --git a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c index c17160a659..951c0a22ff 100644 --- a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c +++ b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c @@ -14,13 +14,13 @@ * along with this program. If not, see . */ -#include -#include -#include -#include +#include "rev1_qmk.h" + +#include "i2c_master.h" +#include "led_tables.h" +#include "rgb_matrix.h" #include "drivers/led/issi/is31fl3731.h" #include "ws2812.h" -#include "rev1_qmk.h" #ifdef RGB_MATRIX_ENABLE LED_TYPE rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; -- cgit v1.2.3