Fix modem/alt1250/altcom_cmd_sms.h:148:7: error: field u within 'struct apicmd_sms_msg_s' is less aligned than 'union
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e9f630ecb5
commit
59416af3e6
|
@ -123,7 +123,7 @@ begin_packed_struct struct apicmd_sms_msg_s
|
||||||
{
|
{
|
||||||
/* SMS-DELIVER */
|
/* SMS-DELIVER */
|
||||||
|
|
||||||
struct
|
begin_packed_struct struct
|
||||||
{
|
{
|
||||||
uint8_t valid_indicator;
|
uint8_t valid_indicator;
|
||||||
struct apicmd_sms_addr_s src_addr;
|
struct apicmd_sms_addr_s src_addr;
|
||||||
|
@ -134,17 +134,19 @@ begin_packed_struct struct apicmd_sms_msg_s
|
||||||
/* Variable length array */
|
/* Variable length array */
|
||||||
|
|
||||||
uint16_t user_data[0];
|
uint16_t user_data[0];
|
||||||
} recv;
|
}
|
||||||
|
end_packed_struct recv;
|
||||||
|
|
||||||
/* SMS-STATUS-REPORT */
|
/* SMS-STATUS-REPORT */
|
||||||
|
|
||||||
struct
|
begin_packed_struct struct
|
||||||
{
|
{
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
struct apicmd_sms_time_s sc_time;
|
struct apicmd_sms_time_s sc_time;
|
||||||
uint8_t ref_id;
|
uint8_t ref_id;
|
||||||
struct apicmd_sms_time_s discharge_time;
|
struct apicmd_sms_time_s discharge_time;
|
||||||
} delivery_report;
|
}
|
||||||
|
end_packed_struct delivery_report;
|
||||||
} u;
|
} u;
|
||||||
} end_packed_struct;
|
} end_packed_struct;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue