diff options
author | JF <jf@codingfield.com> | 2020-10-22 10:43:42 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-10-22 10:43:42 +0200 |
commit | 07b6812f61cf5b7726fbf6015c2c60caa12c7f20 (patch) | |
tree | 1dc7a0e6c2dbf9760437e61b38602f87a5537ec9 /src/components/ble/NotificationManager.h | |
parent | cabf1168d429db84b0985e25881ead86d80dde3c (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.h | 2 |
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); |