aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
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
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 'spaghetti-monster')
-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;
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.