From ebf12e7e5701fa906770bfb20d730fcb68337d69 Mon Sep 17 00:00:00 2001 From: IS2511 Date: Wed, 28 Aug 2019 14:45:11 +0300 Subject: [PATCH] Fixing the OK button safety checking --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index a221cad..fe17228 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -693,7 +693,7 @@ void loop() lastFrameStart = 0; frameId++; } - if ( !(pause && movie[frameId].recorded) ) + if ( !(pause && !movie[frameId].recorded) ) pause = !pause; lcdUpdate(); } else { // Record positions