Mercurial > public > ostc4
diff Discovery/Src/base.c @ 91:8b0fadd413c6 kittz
First stable. With minimal button sensitivity fix(for broken buttons)
author | Dmitry Romanov <kitt@bk.ru> |
---|---|
date | Mon, 26 Nov 2018 10:13:02 +0300 |
parents | ff7775cc34c4 |
children | 2a74647d28d1 |
line wrap: on
line diff
--- a/Discovery/Src/base.c Fri Nov 23 18:14:56 2018 +0300 +++ b/Discovery/Src/base.c Mon Nov 26 10:13:02 2018 +0300 @@ -520,7 +520,7 @@ // =============================================================================== void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { - DataEX_call(); +// DataEX_call(); #ifdef DEMOMODE if(htim->Instance==TIM7) { @@ -557,7 +557,7 @@ case BaseInfo: updateSetpointStateUsed(); DateEx_copy_to_dataOut(); -// DataEX_call(); + DataEX_call(); DataEX_copy_to_LifeData(&modeChange); //foto session :-) stateRealGetPointerWrite()->lifeData.battery_charge = 99; //foto session :-) stateSimGetPointerWrite()->lifeData.battery_charge = 99; @@ -577,7 +577,7 @@ break; case BaseStop: DateEx_copy_to_dataOut(); -// DataEX_call(); + DataEX_call(); DataEX_control_connection_while_asking_for_sleep(); break; default: @@ -585,7 +585,7 @@ if(get_globalState() == StUART_RTECONNECT) { DateEx_copy_to_dataOut(); -// DataEX_call(); + DataEX_call(); DataEX_copy_to_LifeData(0); } break;