From bd679a084f92bbf5f8966cbd79b7daa9f0adc2fa Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Fri, 16 Jul 2021 14:36:46 +0200 Subject: [PATCH] Adding spaces to docs --- src/configuration.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configuration.rs b/src/configuration.rs index 5047e85..01e410a 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -14,14 +14,14 @@ pub const MQTT_BROKER: [u8; 4] = [10, 34, 16, 10]; /// timer, which runs at 100 MHz. /// /// ## Example -/// With a value of 7, this corresponds to 2^7 = 128 ticks. Each tick of the 100MHz timer requires +/// With a value of 7, this corresponds to 2^7 = 128 ticks. Each tick of the 100 MHz timer requires /// 10ns. /// /// Sampling Period = 10ns * 128 = 1.28 us -/// Sampling Frequency = 781.25KHz +/// Sampling Frequency = 781.25 KHz /// /// Or more succinctly: -/// `F_s = 100MHz / (2 ^ ADC_SAMPLE_TICKS_LOG2)` +/// `F_s = 100 MHz / (2 ^ ADC_SAMPLE_TICKS_LOG2)` pub const ADC_SAMPLE_TICKS_LOG2: u8 = 7; /// Sample Batch Sizing