迁移至 Arm Compiler 6
This commit is contained in:
@@ -21,7 +21,7 @@ typedef struct{
|
||||
uint8_t ack_num;
|
||||
int ret_skip;
|
||||
int ack_size;
|
||||
uint8_t ack[0];
|
||||
uint8_t ack[];
|
||||
}check_def;
|
||||
|
||||
|
||||
@@ -192,8 +192,8 @@ transmit_export(ym_checker,0x30,check)
|
||||
|
||||
|
||||
|
||||
__packed
|
||||
typedef struct{
|
||||
|
||||
typedef struct __packed{
|
||||
char build_time[20];
|
||||
char softverion[8];
|
||||
int runtime;
|
||||
@@ -216,7 +216,7 @@ typedef struct{
|
||||
uint8_t slave_num;
|
||||
uint8_t end_cmd;
|
||||
int ack_size;
|
||||
uint8_t ack[0];
|
||||
uint8_t ack[];
|
||||
}bootinfo_def;
|
||||
|
||||
|
||||
@@ -353,8 +353,8 @@ transmit_export(ym_checker,0x04,bootinfo_coder)
|
||||
|
||||
|
||||
|
||||
__packed
|
||||
typedef struct{
|
||||
|
||||
typedef struct __packed{
|
||||
char devicetype[12];
|
||||
char hostif[8];
|
||||
uint8_t localip[4];
|
||||
|
Reference in New Issue
Block a user