diff Discovery/Src/base.c @ 765:da8126d5ea9f

After a firmware update, use the factory settings for button sensitivity if these exist, the default settings otherwise. The factory settings for the buttons can be updated in the System menu / Reset menu / Maintenance / 'Store button factory defaults'.
author heinrichsweikamp
date Wed, 12 Apr 2023 09:24:44 +0200
parents b392524753fb
children 2c243233c999
line wrap: on
line diff
--- a/Discovery/Src/base.c	Mon Mar 27 10:04:53 2023 +0200
+++ b/Discovery/Src/base.c	Wed Apr 12 09:24:44 2023 +0200
@@ -381,7 +381,7 @@
     if( newFirmwareVersionCheckViaSettings() ) // test for old firmware version in loaded settings
     {
         wasFirmwareUpdateCheckBattery = 1;
-        set_settings_button_to_standard_with_individual_buttonBalance(); // will adapt individual values
+        set_settings_button_to_factory_with_individual_buttonBalance(); // will adapt individual values
     }
     //settingsGetPointer()->bluetoothActive = 0; 	/* MX_Bluetooth_PowerOff();  unnecessary as part of MX_GPIO_Init() */
     //settingsGetPointer()->compassBearing = 0;