figments: mainloop: fix .noinit support on esp8266

This commit is contained in:
Torrie Fischer 2023-03-03 18:20:15 +01:00
parent 8a858b99ed
commit a1c4a1563b

View File

@ -13,9 +13,11 @@ MainLoop::dispatch(const InputEvent& evt)
m_eventBuf.insert(evt); m_eventBuf.insert(evt);
} }
//#ifdef BOARD_ESP32 #ifndef __NOINIT_ATTR // Pre-defined on esp32
#define __NOINIT_ATTR __attribute__ ((section (".noinit")))
#endif
__NOINIT_ATTR const char* s_lastTaskName; __NOINIT_ATTR const char* s_lastTaskName;
//#endif
void void
MainLoop::dispatchSync(const InputEvent& evt) MainLoop::dispatchSync(const InputEvent& evt)