summaryrefslogtreecommitdiff
path: root/src/components/ble/NotificationManager.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-10-22 10:43:42 +0200
committerJF <jf@codingfield.com>2020-10-22 10:43:42 +0200
commit07b6812f61cf5b7726fbf6015c2c60caa12c7f20 (patch)
tree1dc7a0e6c2dbf9760437e61b38602f87a5537ec9 /src/components/ble/NotificationManager.h
parentcabf1168d429db84b0985e25881ead86d80dde3c (diff)
Notifications : Fix copy when the messages is spread across multiple os_mbuf.
Diffstat (limited to 'src/components/ble/NotificationManager.h')
-rw-r--r--src/components/ble/NotificationManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/NotificationManager.h b/src/components/ble/NotificationManager.h
index 64c6df6d..49fe8306 100644
--- a/src/components/ble/NotificationManager.h
+++ b/src/components/ble/NotificationManager.h
@@ -20,7 +20,7 @@ namespace Pinetime {
};
Notification::Id nextId {0};
- void Push(Categories category, const char* message, uint8_t messageSize);
+ void Push(Notification&& notif);
Notification GetLastNotification();
Notification GetNext(Notification::Id id);
Notification GetPrevious(Notification::Id id);