瀏覽代碼

Reduce compile size of KBD6x (#4599)

Disable some functionality so that it will compile under size in the QMK Configurator
Drashna Jaelre 6 年之前
父節點
當前提交
cce19d265d
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 3
      keyboards/kbd6x/config.h
  2. 1 1
      keyboards/kbd6x/rules.mk

+ 2 - 3
keyboards/kbd6x/config.h

@@ -169,8 +169,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_LAYER
 //#define NO_ACTION_TAPPING
 //#define NO_ACTION_ONESHOT
-//#define NO_ACTION_MACRO
-//#define NO_ACTION_FUNCTION
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
 
 /*
  * MIDI options
@@ -222,4 +222,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define LCD_E_PIN        1            //< pin  for Enable line
 #endif
 */
-

+ 1 - 1
keyboards/kbd6x/rules.mk

@@ -55,7 +55,7 @@ BOOTMAGIC_ENABLE = yes      # Virtual DIP switch configuration(+1000)
 MOUSEKEY_ENABLE = no       # Mouse keys(+4700)
 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
 CONSOLE_ENABLE = yes        # Console for debug(+400)
-COMMAND_ENABLE = yes        # Commands for debug and configuration
+COMMAND_ENABLE = no        # Commands for debug and configuration
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work