aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ble')
-rw-r--r--src/components/ble/NotificationManager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h
index 09b5a561..189a7e13 100644
--- a/src/components/ble/NotificationManager.h
+++ b/src/components/ble/NotificationManager.h
@@ -27,11 +27,12 @@ namespace Pinetime {
struct Notification {
using Id = uint8_t;
using Idx = uint8_t;
- Id id = 0;
- bool valid = false;
- uint8_t size;
+
std::array<char, MessageSize + 1> message;
+ uint8_t size;
Categories category = Categories::Unknown;
+ Id id = 0;
+ bool valid = false;
const char* Message() const;
const char* Title() const;