summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemtask/SystemTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 71eaf4d9..e22265f6 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -426,7 +426,7 @@ void SystemTask::Work() {
break;
case Messages::LowBattery: {
Pinetime::Controllers::NotificationManager::Notification notif;
- std::array<char, 101> message {"Low Battery\0Charge your watch to prevent data loss.\0"};
+ std::array<char, Pinetime::Controllers::NotificationManager::MessageSize + 1> message {"Low Battery\0Charge your watch to prevent data loss.\0"};
notif.message = message;
notif.size = 53;
notif.category = Pinetime::Controllers::NotificationManager::Categories::SimpleAlert;