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:
Guillaume Souchere 2024-02-12 09:39:53 +01:00
parent cc649ea869
commit 8fbc34a356

View File

@ -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))