aboutsummaryrefslogtreecommitdiff
path: root/fw/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/main.c')
-rw-r--r--fw/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/main.c b/fw/main.c
index 09de3ca..0f34f7e 100644
--- a/fw/main.c
+++ b/fw/main.c
@@ -69,7 +69,7 @@ int main(void) {
}
set_outputs(0);
- adc_configure_monitor_mode(0 /*no oversampling*/);
+ adc_configure_monitor_mode(0 /*no oversampling*/, 20 /*us*/, 10000/20 /*mean window size*/);
uint8_t out_state = 0x01;
#define DEBOUNCE 100