aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-adc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-adc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-adc.c b/spaghetti-monster/fsm-adc.c
index 725902f..c382a8a 100644
--- a/spaghetti-monster/fsm-adc.c
+++ b/spaghetti-monster/fsm-adc.c
@@ -155,8 +155,9 @@ ISR(ADC_vect) {
}
// the next measurement isn't the first
- //adc_sample_count = 1;
- adc_sample_count ++;
+ adc_sample_count = 1;
+ // rollover doesn't really matter
+ //adc_sample_count ++;
}