From 0d8584ea930c590c6034d465844e74dc94b25309 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 22 Mar 2020 15:43:08 +0100 Subject: [PATCH] application: Fix indentation broken by previous changeset. --- src/application/main.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/application/main.rs b/src/application/main.rs index 5ec2f96..4fa0c96 100644 --- a/src/application/main.rs +++ b/src/application/main.rs @@ -313,15 +313,15 @@ pub unsafe extern "C" fn _start() -> ! { shell.update(&mut logger); if pta12.has_been_held_for_ms(1500) { - is_recording = !is_recording; + is_recording = !is_recording; - if is_recording { - logger.start_recording(&prev_tap); - } else { - logger.stop_recording(&prev_tap); - } + if is_recording { + logger.start_recording(&prev_tap); + } else { + logger.stop_recording(&prev_tap); + } - total_distance_cm = 0; + total_distance_cm = 0; } if reset_requested() { -- 2.30.2