# HG changeset patch # User ideenmodellierer # Date 1553464275 -3600 # Node ID 0bb6a8e7be9d14337d2c771b3e5608c4ba2bd6e3 # Parent 88d2ce128dc4e2db2688ad76a5f912efed2dcbf3 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 diff -r 88d2ce128dc4 -r 0bb6a8e7be9d Discovery/Src/base.c --- 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();