mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-13 10:15:00 +00:00
nits
This commit is contained in:
+1
-1
@@ -503,7 +503,7 @@ static inline uint32_t mg_ota_esp32_state_set(uint32_t state) {
|
||||
#ifndef MG_IRAM
|
||||
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
||||
#define MG_IRAM \
|
||||
__attribute__((noinline, section(".data.$SRAM_ITC_cm33")))
|
||||
__attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33")))
|
||||
#else
|
||||
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
||||
#endif
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
#ifndef MG_IRAM
|
||||
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
||||
#define MG_IRAM \
|
||||
__attribute__((noinline, section(".data.$SRAM_ITC_cm33")))
|
||||
__attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33")))
|
||||
#else
|
||||
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user