Notifications : Fix copy when the messages is spread across multiple os_mbuf.

This commit is contained in:
JF
2020-10-22 10:43:42 +02:00
parent cabf1168d4
commit 07b6812f61
5 changed files with 28 additions and 23 deletions

View File

@@ -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);