mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 19:47:02 +03:00
taming the memory monster
This commit is contained in:
@@ -9,7 +9,8 @@ typedef enum {
|
||||
} messaging_types;
|
||||
typedef enum {
|
||||
MESSAGING_CLASS_OTA,
|
||||
MESSAGING_CLASS_SYSTEM
|
||||
MESSAGING_CLASS_SYSTEM,
|
||||
MESSAGING_CLASS_STATS
|
||||
} messaging_classes;
|
||||
|
||||
typedef struct messaging_list_t *messaging_handle_t;
|
||||
@@ -18,7 +19,8 @@ typedef struct {
|
||||
time_t sent_time;
|
||||
messaging_types type;
|
||||
messaging_classes msg_class;
|
||||
char message[151];
|
||||
size_t msg_size;
|
||||
char message[];
|
||||
} single_message_t;
|
||||
|
||||
cJSON * messaging_retrieve_messages(RingbufHandle_t buf_handle);
|
||||
|
||||
Reference in New Issue
Block a user