diff --git a/firmware/src/main.rs b/firmware/src/main.rs index 696d3d1..a51c78c 100644 --- a/firmware/src/main.rs +++ b/firmware/src/main.rs @@ -53,8 +53,7 @@ fn get_time_ms() -> u64 { let adc_irq_count = cortex_m::interrupt::free(|cs| { ADC_IRQ_COUNT.borrow(cs).get() }); - // FIXME: this should be adc_irq_count*6/125 - adc_irq_count*4*6/125 + adc_irq_count*24/125 } static LOOP_ANODE: Mutex> = Mutex::new(RefCell::new(