aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-26 01:34:53 -0600
committerSelene ToyKeeper2023-04-26 01:34:53 -0600
commitaa4c627377b07cc07cd1e904f9f7d2f24c1155a4 (patch)
tree8d3e17b3d1f974ca20fd6b929c788ea2c91a7527 /spaghetti-monster/fsm-adc.h
parentput RGB aux LEDs in high mode for 3 seconds after light goes to sleep (diff)
downloadanduril-aa4c627377b07cc07cd1e904f9f7d2f24c1155a4.tar.gz
anduril-aa4c627377b07cc07cd1e904f9f7d2f24c1155a4.tar.bz2
anduril-aa4c627377b07cc07cd1e904f9f7d2f24c1155a4.zip
made sleep voltage work on attiny1616 again
(oops, it has no "ADC Noise Reduction" mode... needs different setup code)
Diffstat (limited to 'spaghetti-monster/fsm-adc.h')
-rw-r--r--spaghetti-monster/fsm-adc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-adc.h b/spaghetti-monster/fsm-adc.h
index b25b650..1bb67ed 100644
--- a/spaghetti-monster/fsm-adc.h
+++ b/spaghetti-monster/fsm-adc.h
@@ -106,3 +106,7 @@ inline void ADC_on();
inline void ADC_off();
inline void ADC_start_measurement();
+#ifdef TICK_DURING_STANDBY
+inline void adc_sleep_mode();
+#endif
+