mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_attr): Remove semiclon from PACKED attribute
When the macro was introduced, a semicolon was added at the end of the definition and merged like that in v5.2 release. The semicolon was then removed in master but the change was never backported in v5.2. This commit removes the semicolon to the definition of the PATCKED_ATTR macro in v5.2. Closes https://github.com/espressif/esp-idf/issues/13149
This commit is contained in:
parent
cc649ea869
commit
8fbc34a356
@ -58,7 +58,7 @@ extern "C" {
|
||||
#define DMA_ATTR WORD_ALIGNED_ATTR DRAM_ATTR
|
||||
|
||||
// Forces the data to be tightly packed with minimum required padding and no extra bytes are added for alignment
|
||||
#define PACKED_ATTR __attribute__((packed));
|
||||
#define PACKED_ATTR __attribute__((packed))
|
||||
|
||||
// Forces a function to be inlined
|
||||
#define FORCE_INLINE_ATTR static inline __attribute__((always_inline))
|
||||
|
Loading…
Reference in New Issue
Block a user