diff Discovery/Src/base.c @ 476:19cff811616d Improve_Button_Sleep

Balance value of button responsitivness were not considered during firmware startup: An additional calculation is needed to adapt the button values regarding the balance factors.
author ideenmodellierer
date Tue, 12 May 2020 22:54:19 +0200
parents adc4ccbebbb5
children b560e474e319
line wrap: on
line diff
--- a/Discovery/Src/base.c	Tue May 12 22:52:05 2020 +0200
+++ b/Discovery/Src/base.c	Tue May 12 22:54:19 2020 +0200
@@ -426,6 +426,7 @@
     tInfoLog_init();
     tComm_init();
     DataEX_init();
+    settingsHelperButtonSens_keepPercentageValues(settingsGetPointer()->ButtonResponsiveness[3], settingsGetPointer()->ButtonResponsiveness);
     setButtonResponsiveness( settingsGetPointer()->ButtonResponsiveness );
     set_globalState_tHome();