From f974f4099ca22eddb32269857dea88120bfbf101 Mon Sep 17 00:00:00 2001 From: Matt Huszagh Date: Tue, 12 Jan 2021 16:17:58 -0800 Subject: [PATCH] remove TODO note relating ADC_BATCHES and calculate_timestamp_timer_period Having both is not really redundant. --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 22fe534..be947f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,7 +68,6 @@ const SAMPLE_BUFFER_SIZE_LOG2: usize = 3; const SAMPLE_BUFFER_SIZE: usize = 1 << SAMPLE_BUFFER_SIZE_LOG2; // The number of ADC batches in one timer overflow period. -// TODO almost the same as `calculate_timestamp_timer_period`. pub const ADC_BATCHES_LOG2: usize = 32 - SAMPLE_BUFFER_SIZE_LOG2 - ADC_SAMPLE_TICKS_LOG2 as usize; pub const ADC_BATCHES: usize = 1 << ADC_BATCHES_LOG2;