*bugfix: correct FLJ and LJ data length
This commit is contained in:
@@ -61,9 +61,9 @@ typedef struct
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
uint32_t dataId_lj;
|
uint32_t dataId_lj;
|
||||||
uint8_t data_lj[PAYLOAD_LJ];
|
uint8_t data_lj[PAYLOAD_LEN];
|
||||||
uint32_t dataId_flj;
|
uint32_t dataId_flj;
|
||||||
uint8_t data_flj[PAYLOAD_FLJ];
|
uint8_t data_flj[PAYLOAD_LEN];
|
||||||
} PAYLOAD;
|
} PAYLOAD;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
@@ -73,7 +73,7 @@ typedef struct
|
|||||||
uint8_t slotNo;
|
uint8_t slotNo;
|
||||||
uint8_t frameType;
|
uint8_t frameType;
|
||||||
// Payload
|
// Payload
|
||||||
uint8_t payload[256];
|
uint8_t payload[PAYLOAD_LEN];
|
||||||
// Time sync info
|
// Time sync info
|
||||||
uint64_t tmStamp;
|
uint64_t tmStamp;
|
||||||
uint32_t tmDevi;
|
uint32_t tmDevi;
|
||||||
|
|||||||
Reference in New Issue
Block a user