Clean up and standardize print() debug stuff

This commit is contained in:
Josh Klar
2019-07-12 15:16:33 -07:00
parent edcb681169
commit 1fe80fec92
4 changed files with 121 additions and 30 deletions

View File

@@ -38,9 +38,9 @@ def bootloader(*args, **kwargs):
def debug_pressed(key, state, KC, *args, **kwargs):
if state.config.debug_enabled:
print('Disabling debug mode, bye!')
print('DebugDisable()')
else:
print('Enabling debug mode. Welcome to the jungle.')
print('DebugEnable()')
state.config.debug_enabled = not state.config.debug_enabled