Disable onekey console by default (#19104)

master
Joel Challis 2022-11-18 02:16:38 +00:00 committed by GitHub
parent d86c0d3723
commit 5d882ab6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 2 deletions

View File

@ -27,7 +27,7 @@
// This code does not fit into the really small flash of STM32F103x6 together // This code does not fit into the really small flash of STM32F103x6 together
// with CONSOLE_ENABLE=yes, and the debugging console is probably more // with CONSOLE_ENABLE=yes, and the debugging console is probably more
// important for the "okeney" testing firmware. In a real firmware you may be // important for the "onekey" testing firmware. In a real firmware you may be
// able to use these features if you keep the debugging console disabled. // able to use these features if you keep the debugging console disabled.
#define NO_ACTION_LAYER #define NO_ACTION_LAYER
#define NO_ACTION_TAPPING #define NO_ACTION_TAPPING

View File

@ -12,7 +12,7 @@
"bootmagic": false, "bootmagic": false,
"mousekey": true, "mousekey": true,
"extrakey": true, "extrakey": true,
"console": true, "console": false,
"command": false, "command": false,
"nkro": true, "nkro": true,
"backlight": false, "backlight": false,

View File

@ -18,3 +18,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} }
return true; return true;
} }
void keyboard_post_init_user(void) {
// Customise these values to desired behaviour
debug_enable=true;
debug_matrix=true;
//debug_keyboard=true;
//debug_mouse=true;
}

View File

@ -0,0 +1,2 @@
CONSOLE_ENABLE = yes
DEBUG_MATRIX_SCAN_RATE_ENABLE = yes

View File

@ -0,0 +1 @@
CONSOLE_ENABLE = yes

View File

@ -1,3 +1,4 @@
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = SSD1306 OLED_DRIVER = SSD1306
TAP_DANCE_ENABLE = yes TAP_DANCE_ENABLE = yes
CONSOLE_ENABLE = yes