1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Start of global debug implementation to match the PWM code

This commit is contained in:
Robert Wolterman
2017-01-25 05:07:00 +00:00
parent 8c3dab1ecc
commit bd7f667041
4 changed files with 35 additions and 5 deletions

View File

@ -52,9 +52,12 @@ _FOLDERS = {
"CUST" : "chip-cust"
}
def enable_debug():
def toggle_debug():
global DEBUG
DEBUG = True
if DEBUG:
DEBUG = False
else:
DEBUG = True
def get_spi_loaded():
"""