summaryrefslogtreecommitdiff
path: root/src/Components/Ble/NotificationManager.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-07-11 21:09:34 +0200
committerJF <jf@codingfield.com>2020-07-11 21:09:34 +0200
commit64c14274fc2f025fc48d3df47a1640f08eb968cd (patch)
tree262cf8b4e84c556748f42bbf778b48a68210921d /src/Components/Ble/NotificationManager.h
parent0bcaf9c22d6183ba8072e10abb9da7aea578b8db (diff)
parent6309719a62436fd746a7a8b228205e93b419ca26 (diff)
Merge branch 'develop'
# Conflicts: # CMakeLists.txt
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;
};