changeset 206:0bb6a8e7be9d ImprovmentSPI

Moved EvaluateButton into 100ms callback A result of the button evaluation within the main loop was that keys were without function in UART mode => Moved function into callback
author ideenmodellierer
date Sun, 24 Mar 2019 22:51:15 +0100
parents 88d2ce128dc4
children b95741467355
files Discovery/Src/base.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/base.c	Sun Mar 24 22:48:49 2019 +0100
+++ b/Discovery/Src/base.c	Sun Mar 24 22:51:15 2019 +0100
@@ -495,7 +495,6 @@
             ext_flash_write_settings();
         }
         deco_loop();
-        EvaluateButton();
 
 #ifdef DEBUG_RUNTIME
         translateTime(stateUsed->lifeData.timeBinaryFormat, &Stime);
@@ -558,6 +557,8 @@
     else
         InDiveMode = 0;
 
+    EvaluateButton();
+
     if(returnFromCommCleanUpRequest)
     {
         tComm_exit();