aboutsummaryrefslogtreecommitdiffstats
path: root/src/Components/Ble/NotificationManager.h
diff options
context:
space:
mode:
authorAdam Pigg <adam@piggz.co.uk>2020-07-11 21:41:20 +0100
committerAdam Pigg <adam@piggz.co.uk>2020-07-11 21:41:20 +0100
commit789e06fdb77704fa5da12355ad5f1d8c9d4455e5 (patch)
tree56972f902675749e0df58e91d8670dd5215d677e /src/Components/Ble/NotificationManager.h
parent7a1e6e6e5bf187846bd533f04ee58e04798f0035 (diff)
parent6309719a62436fd746a7a8b228205e93b419ca26 (diff)
Merge branch 'develop' of https://github.com/JF002/Pinetime into music
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;
};