mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
compile/attribute: minor fix for packed struct mismatch
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -423,7 +423,7 @@ begin_packed_struct struct spiffs_page_objndx_s
|
|||||||
struct spiffs_page_header_s phdr;
|
struct spiffs_page_header_s phdr;
|
||||||
uint8_t _align[4 - ((sizeof(struct spiffs_page_header_s) & 3) ==
|
uint8_t _align[4 - ((sizeof(struct spiffs_page_header_s) & 3) ==
|
||||||
0 ? 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 */
|
/* callback func for object lookup visitor */
|
||||||
|
|
||||||
|
|||||||
@@ -1175,7 +1175,7 @@ begin_packed_struct struct ieee80211_qosframe
|
|||||||
begin_packed_struct struct ieee80211_qoscntl
|
begin_packed_struct struct ieee80211_qoscntl
|
||||||
{
|
{
|
||||||
uint8_t i_qos[2];
|
uint8_t i_qos[2];
|
||||||
};
|
} end_packed_struct;
|
||||||
|
|
||||||
begin_packed_struct struct ieee80211_frame_addr4
|
begin_packed_struct struct ieee80211_frame_addr4
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ begin_packed_struct struct bt_att_read_mult_rsp_s
|
|||||||
|
|
||||||
/* Read by Group Type Request */
|
/* 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 start_handle;
|
||||||
uint16_t end_handle;
|
uint16_t end_handle;
|
||||||
|
|||||||
Reference in New Issue
Block a user