fixed watchface memery error

This commit is contained in:
tofasthacker 2023-11-13 23:11:09 -05:00
parent 11acaeadd3
commit 77f1a3e230

View File

@ -374,18 +374,18 @@ void DisplayApp::Refresh() {
// What should happen here? // What should happen here?
break; break;
case Messages::Chime: case Messages::Chime:
LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None);
time_var = dateTimeController.Minutes(); time_var = dateTimeController.Minutes();
if (time_var == 30){ if (time_var == 30){
NRF_LOG_INFO("Short: %d", time_var); //NRF_LOG_INFO("Short: %d", time_var);
motorController.StartPattern(); motorController.StartPattern();
} }
else else
{ {
NRF_LOG_INFO("Long: %d", time_var); //NRF_LOG_INFO("Long: %d", time_var);
motorController.RunForDuration(200); motorController.RunForDuration(200);
} }
//LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None);
break; break;
case Messages::OnChargingEvent: case Messages::OnChargingEvent: