fixed watchface memery error
This commit is contained in:
parent
11acaeadd3
commit
77f1a3e230
@ -374,18 +374,18 @@ void DisplayApp::Refresh() {
|
||||
// What should happen here?
|
||||
break;
|
||||
case Messages::Chime:
|
||||
LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None);
|
||||
|
||||
time_var = dateTimeController.Minutes();
|
||||
if (time_var == 30){
|
||||
NRF_LOG_INFO("Short: %d", time_var);
|
||||
//NRF_LOG_INFO("Short: %d", time_var);
|
||||
motorController.StartPattern();
|
||||
}
|
||||
else
|
||||
{
|
||||
NRF_LOG_INFO("Long: %d", time_var);
|
||||
//NRF_LOG_INFO("Long: %d", time_var);
|
||||
motorController.RunForDuration(200);
|
||||
}
|
||||
|
||||
//LoadNewScreen(Apps::Clock, DisplayApp::FullRefreshDirections::None);
|
||||
|
||||
break;
|
||||
case Messages::OnChargingEvent:
|
||||
|
Loading…
Reference in New Issue
Block a user