mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Replace all __attribute__((packed)) with [begin|end]_packed_struct
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
21b69cfd5d
commit
440ca48778
@@ -43,7 +43,7 @@
|
|||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
__attribute__((packed)) struct dfu_signature
|
begin_packed_struct struct dfu_signature
|
||||||
{
|
{
|
||||||
uint32_t linker_start_address;
|
uint32_t linker_start_address;
|
||||||
uint32_t linker_end_address;
|
uint32_t linker_end_address;
|
||||||
@@ -52,7 +52,7 @@ __attribute__((packed)) struct dfu_signature
|
|||||||
uint8_t firmware_type1;
|
uint8_t firmware_type1;
|
||||||
uint8_t firmware_type2;
|
uint8_t firmware_type2;
|
||||||
uint8_t reserved2[8];
|
uint8_t reserved2[8];
|
||||||
};
|
} end_packed_struct;
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
|
|||||||
Reference in New Issue
Block a user