From 77f1a3e230fefaeac8a3b2fae68d376bb11b6576 Mon Sep 17 00:00:00 2001 From: tofasthacker Date: Mon, 13 Nov 2023 23:11:09 -0500 Subject: [PATCH] fixed watchface memery error --- src/displayapp/DisplayApp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 8d4e50d8..16b898fa 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -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: