compile/attribute: minor fix for packed struct mismatch

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-12-06 01:18:58 +08:00 committed by Xiang Xiao
parent 1f25da1366
commit b5507ea9a2
3 changed files with 3 additions and 3 deletions

View File

@ -423,7 +423,7 @@ begin_packed_struct struct spiffs_page_objndx_s
struct spiffs_page_header_s phdr;
uint8_t _align[4 - ((sizeof(struct spiffs_page_header_s) & 3) ==
0 ? 4 : (sizeof(struct spiffs_page_header_s) & 3))];
} begin_packed_struct;
} end_packed_struct;
/* callback func for object lookup visitor */

View File

@ -1175,7 +1175,7 @@ begin_packed_struct struct ieee80211_qosframe
begin_packed_struct struct ieee80211_qoscntl
{
uint8_t i_qos[2];
};
} end_packed_struct;
begin_packed_struct struct ieee80211_frame_addr4
{

View File

@ -321,7 +321,7 @@ begin_packed_struct struct bt_att_read_mult_rsp_s
/* Read by Group Type Request */
struct bt_att_read_group_req_s
begin_packed_struct struct bt_att_read_group_req_s
{
uint16_t start_handle;
uint16_t end_handle;