2
0
skullY 7 лет назад
Родитель
Сommit
beda053adb

+ 1 - 9
keyboards/clueboard/66_hotswap/66_hotswap.h

@@ -1,10 +1,2 @@
-#ifndef CLUEBOARD_H
-#define CLUEBOARD_H
-
+#pragma once
 #include "quantum.h"
-
-#ifdef KEYBOARD_clueboard_66_hotswap_gen1
-    #include "gen1.h"
-#endif
-
-#endif

+ 1 - 5
keyboards/clueboard/66_hotswap/config.h

@@ -15,9 +15,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CLUEBOARD_66_CONFIG_H
-#define CLUEBOARD_66_CONFIG_H
-
+#pragma once
 #include "config_common.h"
 
 /* USB Device descriptor parameter */
@@ -54,5 +52,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define NO_ACTION_ONESHOT
 #define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-#endif

+ 1 - 5
keyboards/clueboard/66_hotswap/gen1/config.h

@@ -1,6 +1,4 @@
-#ifndef CLUEBOARD_66_REV3_CONFIG_H
-#define CLUEBOARD_66_REV3_CONFIG_H
-
+#pragma once
 #include "config_common.h"
 
 #define PRODUCT_ID      0x2390
@@ -51,5 +49,3 @@
 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 16   // The led to start at
 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 8  // How many LEDs to travel
 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4    // How many LEDs wide to light up
-
-#endif

+ 1 - 5
keyboards/clueboard/66_hotswap/gen1/gen1.h

@@ -1,6 +1,4 @@
-#ifndef gen1_H
-#define gen1_H
-
+#pragma once
 #include "66_hotswap.h"
 
 /* Clueboard matrix layout
@@ -67,5 +65,3 @@
     { k80, k81, k82, k83, KC_NO, k85, k86, KC_NO }, \
     { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 }  \
 }
-
-#endif