aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-wdt.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-03-16 00:15:19 -0600
committerSelene ToyKeeper2020-03-16 00:15:19 -0600
commit46e0f50a224c300b7e66ef00719edc0cef1f4c8d (patch)
tree9f024294b93414751072c0022bbca7d90ee17085 /spaghetti-monster/fsm-wdt.c
parentcleaned up WDT ADC timer code slightly, and removed a bit of redundant code (diff)
downloadanduril-46e0f50a224c300b7e66ef00719edc0cef1f4c8d.tar.gz
anduril-46e0f50a224c300b7e66ef00719edc0cef1f4c8d.tar.bz2
anduril-46e0f50a224c300b7e66ef00719edc0cef1f4c8d.zip
deleted commented-out WDT code from previous revision
(had only saved it so there would be a note in history about why it's gone)
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-wdt.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/spaghetti-monster/fsm-wdt.c b/spaghetti-monster/fsm-wdt.c
index 9858e09..94266c1 100644
--- a/spaghetti-monster/fsm-wdt.c
+++ b/spaghetti-monster/fsm-wdt.c
@@ -180,13 +180,6 @@ void WDT_inner() {
#if defined(USE_LVP) || defined(USE_THERMAL_REGULATION)
// enable the deferred ADC handler once in a while
if (! adc_trigger) {
- /* redundant; it was already turned on earlier in this function
- // in case we're in standby mode and the ADC is turned off
- if (go_to_standby) {
- //set_admux_voltage();
- ADC_on();
- }
- */
ADC_start_measurement();
adc_deferred_enable = 1;
}