mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-22 21:51:58 +00:00
M8: preview messages up to 164 cars
This commit is contained in:
1 parent
0a595ae79d
commit
de0d5031de
2 files changed
+6
-1
No files matched your search
@@ -511,6 +511,10 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef UI_MSG_PREVIEW_SIZE
|
||||
#define UI_MSG_PREVIEW_SIZE 78
|
||||
#endif
|
||||
|
||||
class MsgPreviewScreen : public UIScreen {
|
||||
UITask* _task;
|
||||
mesh::RTCClock* _rtc;
|
||||
@@ -518,7 +522,7 @@ class MsgPreviewScreen : public UIScreen {
|
||||
struct MsgEntry {
|
||||
uint32_t timestamp;
|
||||
char origin[62];
|
||||
char msg[78];
|
||||
char msg[UI_MSG_PREVIEW_SIZE];
|
||||
};
|
||||
#define MAX_UNREAD_MSGS 32
|
||||
int num_unread;
|
||||
|
||||
Reference in new issue
Block a user