From 5bd68e3695a82ff504c358c33445b4530c2a327f Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 12 Apr 2023 13:42:51 +1000 Subject: Move single `LAYOUT`s to data driven (#20365) --- keyboards/handwired/promethium/keymaps/default/keymap.c | 8 +------- keyboards/handwired/promethium/keymaps/priyadi/keymap.c | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'keyboards/handwired/promethium/keymaps') diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c index 21dd99d95a..100db97678 100644 --- a/keyboards/handwired/promethium/keymaps/default/keymap.c +++ b/keyboards/handwired/promethium/keymaps/default/keymap.c @@ -13,13 +13,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#if defined(PRIYADI_PROMETHIUM) - #include "promethium.h" -#elif defined(PRIYADI_PLANCK) - #include "planck.h" -#else - #error "no keyboard defined" -#endif +#include QMK_KEYBOARD_H #include "action_layer.h" #ifdef AUDIO_ENABLE diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c index 1ebf63037b..1d299c2299 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c +++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c @@ -13,13 +13,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#if defined(PRIYADI_PROMETHIUM) - #include "promethium.h" -#elif defined(PRIYADI_PLANCK) - #include "planck.h" -#else - #error "no keyboard defined" -#endif +#include QMK_KEYBOARD_H #include "action_layer.h" #ifdef AUDIO_ENABLE -- cgit v1.2.3 From fb48db4c8f59feb2ad64b41d53d708a0673b0df4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 3 May 2023 12:24:37 +1000 Subject: Remove more junk files and scripts (#20682) --- keyboards/handwired/promethium/keymaps/default/flash.sh | 4 ---- keyboards/handwired/promethium/keymaps/priyadi/flash.sh | 4 ---- 2 files changed, 8 deletions(-) delete mode 100644 keyboards/handwired/promethium/keymaps/default/flash.sh delete mode 100755 keyboards/handwired/promethium/keymaps/priyadi/flash.sh (limited to 'keyboards/handwired/promethium/keymaps') diff --git a/keyboards/handwired/promethium/keymaps/default/flash.sh b/keyboards/handwired/promethium/keymaps/default/flash.sh deleted file mode 100644 index 14a3b43789..0000000000 --- a/keyboards/handwired/promethium/keymaps/default/flash.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -sleep 10 -avrdude -p m32u4 -P /dev/ttyACM0 -c avr109 -U flash:w:../../../../../.build/handwired_promethium_priyadi.hex diff --git a/keyboards/handwired/promethium/keymaps/priyadi/flash.sh b/keyboards/handwired/promethium/keymaps/priyadi/flash.sh deleted file mode 100755 index 14a3b43789..0000000000 --- a/keyboards/handwired/promethium/keymaps/priyadi/flash.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -sleep 10 -avrdude -p m32u4 -P /dev/ttyACM0 -c avr109 -U flash:w:../../../../../.build/handwired_promethium_priyadi.hex -- cgit v1.2.3