diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-07-24 21:19:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-25 14:19:38 +1000 |
| commit | a030950fd6754fae361845e872a4855032d6f666 (patch) | |
| tree | 26a575f28dfbd7970259e6bf7f7acb84bbf32364 | |
| parent | 958483a4bad62cb55e2782dbf0f8762692748515 (diff) | |
| download | qmk_firmware-a030950fd6754fae361845e872a4855032d6f666.tar.gz qmk_firmware-a030950fd6754fae361845e872a4855032d6f666.zip | |
[Keyboard] Fix compile size for the Vitamins Included via keymap (#13696)
| -rw-r--r-- | keyboards/vitamins_included/config.h | 13 | ||||
| -rw-r--r-- | keyboards/vitamins_included/keymaps/via/config.h | 22 | ||||
| -rw-r--r-- | keyboards/vitamins_included/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/vitamins_included/rev2/config.h | 7 |
4 files changed, 24 insertions, 20 deletions
diff --git a/keyboards/vitamins_included/config.h b/keyboards/vitamins_included/config.h index 019ca9491..993916731 100644 --- a/keyboards/vitamins_included/config.h +++ b/keyboards/vitamins_included/config.h | |||
| @@ -26,16 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define PRODUCT Vitamins included | 26 | #define PRODUCT Vitamins included |
| 27 | 27 | ||
| 28 | #include "config_common.h" | 28 | #include "config_common.h" |
| 29 | |||
| 30 | #ifndef NO_ACTION_MACRO | ||
| 31 | #define NO_ACTION_MACRO | ||
| 32 | #endif | ||
| 33 | #ifndef NO_ACTION_FUNCTION | ||
| 34 | #define NO_ACTION_FUNCTION | ||
| 35 | #endif | ||
| 36 | #ifndef NO_DEBUG | ||
| 37 | #define NO_DEBUG | ||
| 38 | #endif // !NO_DEBUG | ||
| 39 | #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE) | ||
| 40 | #define NO_PRINT | ||
| 41 | #endif // !NO_PRINT | ||
diff --git a/keyboards/vitamins_included/keymaps/via/config.h b/keyboards/vitamins_included/keymaps/via/config.h new file mode 100644 index 000000000..847858e12 --- /dev/null +++ b/keyboards/vitamins_included/keymaps/via/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2019 Mikkel Jeppesen | ||
| 5 | |||
| 6 | This program is free software: you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation, either version 2 of the License, or | ||
| 9 | (at your option) any later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #pragma once | ||
| 21 | |||
| 22 | # define NO_MUSIC_MODE | ||
diff --git a/keyboards/vitamins_included/keymaps/via/rules.mk b/keyboards/vitamins_included/keymaps/via/rules.mk index 036bd6d1c..1e5b99807 100644 --- a/keyboards/vitamins_included/keymaps/via/rules.mk +++ b/keyboards/vitamins_included/keymaps/via/rules.mk | |||
| @@ -1 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | VIA_ENABLE = yes | ||
diff --git a/keyboards/vitamins_included/rev2/config.h b/keyboards/vitamins_included/rev2/config.h index 8bf640f0b..bab387ce6 100644 --- a/keyboards/vitamins_included/rev2/config.h +++ b/keyboards/vitamins_included/rev2/config.h | |||
| @@ -47,11 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | /* Set 0 if debouncing isn't needed */ | 47 | /* Set 0 if debouncing isn't needed */ |
| 48 | #define DEBOUNCE 5 | 48 | #define DEBOUNCE 5 |
| 49 | 49 | ||
| 50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 51 | #define LOCKING_SUPPORT_ENABLE | ||
| 52 | /* Locking resynchronize hack */ | ||
| 53 | #define LOCKING_RESYNC_ENABLE | ||
| 54 | |||
| 55 | /* ws2812 RGB LED */ | 50 | /* ws2812 RGB LED */ |
| 56 | #define RGB_DI_PIN F0 | 51 | #define RGB_DI_PIN F0 |
| 57 | 52 | ||
| @@ -61,7 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | 56 | ||
| 62 | /* Audio settings */ | 57 | /* Audio settings */ |
| 63 | #ifdef AUDIO_ENABLE | 58 | #ifdef AUDIO_ENABLE |
| 64 | #define AUDIO_PIN C6 // Define this to enable the buzzer | 59 | # define AUDIO_PIN C6 // Define this to enable the buzzer |
| 65 | #endif | 60 | #endif |
| 66 | 61 | ||
| 67 | #define QMK_ESC_OUTPUT F1 // usually COL | 62 | #define QMK_ESC_OUTPUT F1 // usually COL |
