figments: mainloop: fix .noinit support on esp8266
This commit is contained in:
parent
8a858b99ed
commit
a1c4a1563b
@ -13,9 +13,11 @@ MainLoop::dispatch(const InputEvent& 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;
|
||||
//#endif
|
||||
|
||||
void
|
||||
MainLoop::dispatchSync(const InputEvent& evt)
|
||||
|
Loading…
Reference in New Issue
Block a user