aboutsummaryrefslogtreecommitdiff
path: root/fw/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/main.c')
-rw-r--r--fw/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/main.c b/fw/main.c
index d4bf44d..75a7350 100644
--- a/fw/main.c
+++ b/fw/main.c
@@ -69,9 +69,9 @@ int main(void) {
}
set_outputs(0);
+ adc_configure_monitor_mode(0 /*no oversampling*/, 50 /*us*/, 10000/20 /*mean window size*/);
/* FIXME DEBUG */
-// adc_configure_monitor_mode(0 /*no oversampling*/, 20 /*us*/, 10000/20 /*mean window size*/);
- adc_configure_scope_mode(MASK_VMEAS_A, 10000);
+ //adc_configure_scope_mode(MASK_VMEAS_A, 50000);
uint8_t out_state = 0x01;
#define DEBOUNCE 100