summaryrefslogtreecommitdiff
path: root/src/Components/Ble/NotificationManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/Ble/NotificationManager.h')
-rw-r--r--src/Components/Ble/NotificationManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Components/Ble/NotificationManager.h b/src/Components/Ble/NotificationManager.h
index 8edd6828..daa1571b 100644
--- a/src/Components/Ble/NotificationManager.h
+++ b/src/Components/Ble/NotificationManager.h
@@ -7,10 +7,10 @@ namespace Pinetime {
class NotificationManager {
public:
enum class Categories {Unknown, SimpleAlert, Email, News, IncomingCall, MissedCall, Sms, VoiceMail, Schedule, HighProriotyAlert, InstantMessage };
- static constexpr uint8_t MessageSize = 18;
+ static constexpr uint8_t MessageSize{18};
struct Notification {
- std::array<char, MessageSize> message;
+ std::array<char, MessageSize+1> message;
Categories category = Categories::Unknown;
};