From: Tilman Sauerbeck Date: Sun, 22 Mar 2020 14:43:08 +0000 (+0100) Subject: application: Fix indentation broken by previous changeset. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=0d8584ea930c590c6034d465844e74dc94b25309;p=gps-watch.git application: Fix indentation broken by previous changeset. --- 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() {