changeset 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 4b000e2386c2
children 5e6a612d03b5
files Discovery/Src/base.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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();