From 41c5dd4afed075ff4d4ffcebd5403e2ba2781c21 Mon Sep 17 00:00:00 2001 From: stevenhowes <38082088+stevenhowes@users.noreply.github.com> Date: Mon, 6 May 2019 21:24:11 +0100 Subject: [PATCH] Correctly reset initial sync state - prevents running after cam sync fail --- debug.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debug.ino b/debug.ino index cebf3f2..b24a2db 100644 --- a/debug.ino +++ b/debug.ino @@ -145,10 +145,9 @@ void task_debug_run() { resetFunc(); } + // Allow it to re-sync (i.e. reset CAS failure as it was intentional) + cas_sync_initial = 1; } - - // Allow it to re-sync (i.e. reset CAS failure as it was intentional) - cas_sync_initial = 1; } // Outputs the fuel table as JSON