Disable the command feature for onekeys (#10366)
There is no way to invoke the command feature while having just a single physical key, and disabling that feature fixes build for keymaps like `handwired/onekey/promicro:rgb` without resorting to LTO (the command feature consumes more than 4900 bytes with avr-gcc 8.4.0).
This commit is contained in:
		@@ -5,7 +5,7 @@ BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
 | 
				
			|||||||
MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
 | 
					MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
 | 
				
			||||||
EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
 | 
					EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
 | 
				
			||||||
CONSOLE_ENABLE = yes        # Console for debug(+400)
 | 
					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
 | 
					# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | 
				
			||||||
SLEEP_LED_ENABLE = yes       # Breathing sleep LED during USB suspend
 | 
					SLEEP_LED_ENABLE = yes       # Breathing sleep LED during USB suspend
 | 
				
			||||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 | 
					# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user