Rename MSG_SERIALIZED_MAX_SIZE to MSG_MAX_SIZE

For simplicity and consistency with the server part.
This commit is contained in:
Romain Vimont
2020-06-04 21:26:38 +02:00
parent d202d7b205
commit d91c5dcfd5
6 changed files with 23 additions and 24 deletions

View File

@@ -7,9 +7,9 @@
#include "config.h"
#define DEVICE_MSG_SERIALIZED_MAX_SIZE 4096
#define DEVICE_MSG_MAX_SIZE 4096
// type: 1 byte; length: 2 bytes
#define DEVICE_MSG_TEXT_MAX_LENGTH (DEVICE_MSG_SERIALIZED_MAX_SIZE - 3)
#define DEVICE_MSG_TEXT_MAX_LENGTH (DEVICE_MSG_MAX_SIZE - 3)
enum device_msg_type {
DEVICE_MSG_TYPE_CLIPBOARD,