1
0
Fork 0

Move debug options to runtime

This commit is contained in:
Drashna Jael're 2024-10-19 14:10:45 -07:00
parent 90f769fb7d
commit 326c9de6d6
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
7 changed files with 37 additions and 14 deletions

View file

@ -34,7 +34,12 @@ typedef union {
bool matrix : 1;
bool keyboard : 1;
bool mouse : 1;
uint8_t reserved : 4;
bool pointing :1;
bool action : 1;
bool serial: 1;
bool quantum_painter : 1;
// bool backing_store : 1;
// bool wear_leveling : 1;
};
uint8_t raw;
} debug_config_t;
@ -50,7 +55,10 @@ extern debug_config_t debug_config;
#define debug_matrix (debug_config.matrix)
#define debug_keyboard (debug_config.keyboard)
#define debug_mouse (debug_config.mouse)
#define debug_pointing (debug_config.pointing)
#define debug_action (debug_config.action)
#define debug_serial (debug_config.serial)
#define debug_quantum_painter (debug_config.quantum_painter)
/*
* Debug print utils
*/