mirror of
https://github.com/apache/nuttx.git
synced 2026-05-16 22:21:04 +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
|
||||
****************************************************************************/
|
||||
|
||||
__attribute__((packed)) struct dfu_signature
|
||||
begin_packed_struct struct dfu_signature
|
||||
{
|
||||
uint32_t linker_start_address;
|
||||
uint32_t linker_end_address;
|
||||
@@ -52,7 +52,7 @@ __attribute__((packed)) struct dfu_signature
|
||||
uint8_t firmware_type1;
|
||||
uint8_t firmware_type2;
|
||||
uint8_t reserved2[8];
|
||||
};
|
||||
} end_packed_struct;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
||||
Reference in New Issue
Block a user