diff --git a/TODO b/TODO index 4cb7037..c909b9e 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,8 @@ +- Handle start/stop: Ensure rest to all zeros when done - Generate compensation tables at startup based on low/hi range - perhaps limited by times <400ms - Cleanup footswitch handling -- Handle start/stop: Ensure rest to all zeros when done - Detect profile selection switch: Make sure it sets dimming properly -- Get rid of globals file from repo +- Speed up boot time by removing all unneeded boot activity - Add compensation spreadsheet to repo - Write docs: diff --git a/devtimer.py b/devtimer.py index 064c96a..950492c 100755 --- a/devtimer.py +++ b/devtimer.py @@ -65,7 +65,7 @@ # unnecessary function calls, so we make these globally RW. # So, shoot me ... -CURRENT_PROFILE = FILM #REALTIME +CURRENT_PROFILE = REALTIME CURRENT_TEMP = TEMP_SENTINEL # Operating globals diff --git a/globals.py b/globals.py deleted file mode 100644 index c5d022e..0000000 --- a/globals.py +++ /dev/null @@ -1,23 +0,0 @@ -# Global Constants - -# Timing profiles - -REALTIME = 0 -PAPER = 1 -FILM = 2 - -# Range of compensated timing - -TEMP_LOW=60 -TEMP_HIGH=80 - -# Global Variables - - -# These get updated by the threads that read the switches and -# thermocouple. On a slow machine like the Pi Zero, we want to avoid -# unnecessary function calls, so we make these globally RW. -# So, shoot me ... - -CURRENT_PROFILE = PAPER #REALTIME -CURRENT_TEMP = 68