removed magic number
This commit is contained in:
parent
a82a34cd11
commit
d62402cb3f
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ void SystemTask::Work() {
|
||||||
break;
|
break;
|
||||||
case Messages::LowBattery: {
|
case Messages::LowBattery: {
|
||||||
Pinetime::Controllers::NotificationManager::Notification notif;
|
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.message = message;
|
||||||
notif.size = 53;
|
notif.size = 53;
|
||||||
notif.category = Pinetime::Controllers::NotificationManager::Categories::SimpleAlert;
|
notif.category = Pinetime::Controllers::NotificationManager::Categories::SimpleAlert;
|
||||||
|
|
Loading…
Reference in a new issue