summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2022-01-22 12:47:23 +0200
committerRiku Isokoski <riksu9000@gmail.com>2022-01-22 12:47:23 +0200
commit470db4ab99c214001b3064cfaad135b2b3b6c584 (patch)
tree853c91d05ed2c7212aa946d6a5d70fa3d7e5ad09 /src/components
parent26ae828e393d28390c5ea718bec9d4c1a96435ac (diff)
Fix alarm on time change
Diffstat (limited to 'src/components')
-rw-r--r--src/components/datetime/DateTimeController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/datetime/DateTimeController.cpp b/src/components/datetime/DateTimeController.cpp
index 673903cb..97ccbe38 100644
--- a/src/components/datetime/DateTimeController.cpp
+++ b/src/components/datetime/DateTimeController.cpp
@@ -36,6 +36,8 @@ void DateTime::SetTime(
UpdateTime(systickCounter);
NRF_LOG_INFO("* %d %d %d ", this->hour, this->minute, this->second);
NRF_LOG_INFO("* %d %d %d ", this->day, this->month, this->year);
+
+ systemTask->PushMessage(System::Messages::OnNewTime);
}
void DateTime::UpdateTime(uint32_t systickCounter) {