Skip to content

Commit

Permalink
[Keyboard] Fix compile size for the Vitamins Included via keymap (#13696
Browse files Browse the repository at this point in the history
)
  • Loading branch information
drashna committed Jul 25, 2021
1 parent 958483a commit a030950
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 20 deletions.
13 changes: 0 additions & 13 deletions keyboards/vitamins_included/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PRODUCT Vitamins included

#include "config_common.h"

#ifndef NO_ACTION_MACRO
#define NO_ACTION_MACRO
#endif
#ifndef NO_ACTION_FUNCTION
#define NO_ACTION_FUNCTION
#endif
#ifndef NO_DEBUG
#define NO_DEBUG
#endif // !NO_DEBUG
#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
#define NO_PRINT
#endif // !NO_PRINT
22 changes: 22 additions & 0 deletions keyboards/vitamins_included/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
Copyright 2019 Mikkel Jeppesen
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 <http://www.gnu.org/licenses/>.
*/

#pragma once

# define NO_MUSIC_MODE
2 changes: 1 addition & 1 deletion keyboards/vitamins_included/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VIA_ENABLE = yes
VIA_ENABLE = yes
7 changes: 1 addition & 6 deletions keyboards/vitamins_included/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

/* ws2812 RGB LED */
#define RGB_DI_PIN F0

Expand All @@ -61,7 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

/* Audio settings */
#ifdef AUDIO_ENABLE
#define AUDIO_PIN C6 // Define this to enable the buzzer
# define AUDIO_PIN C6 // Define this to enable the buzzer
#endif

#define QMK_ESC_OUTPUT F1 // usually COL
Expand Down

0 comments on commit a030950

Please sign in to comment.