forked from gatsby/df_datalink
*bugfix: correct FLJ and LJ data length
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user