*bugfix: correct FLJ and LJ data length

This commit is contained in:
Gatsby Van
2024-01-31 00:34:29 +08:00
parent 1b1790657a
commit 1647f4b97c
+3 -3
View File
@@ -61,9 +61,9 @@ typedef struct
typedef struct
{
uint32_t dataId_lj;
uint8_t data_lj[PAYLOAD_LJ];
uint8_t data_lj[PAYLOAD_LEN];
uint32_t dataId_flj;
uint8_t data_flj[PAYLOAD_FLJ];
uint8_t data_flj[PAYLOAD_LEN];
} PAYLOAD;
typedef struct
@@ -73,7 +73,7 @@ typedef struct
uint8_t slotNo;
uint8_t frameType;
// Payload
uint8_t payload[256];
uint8_t payload[PAYLOAD_LEN];
// Time sync info
uint64_t tmStamp;
uint32_t tmDevi;