From 07b6812f61cf5b7726fbf6015c2c60caa12c7f20 Mon Sep 17 00:00:00 2001 From: JF Date: Thu, 22 Oct 2020 10:43:42 +0200 Subject: Notifications : Fix copy when the messages is spread across multiple os_mbuf. --- src/components/ble/NotificationManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/ble/NotificationManager.h') 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); -- cgit v1.2.3-70-g09d2