Notifications : Fix copy when the messages is spread across multiple os_mbuf.
This commit is contained in:
parent
cabf1168d4
commit
07b6812f61
5 changed files with 28 additions and 23 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue