Fix compile error using ESP board 2.0.0
You need to update to the latest ESP board files 2.0.0 by using Tools->Board->Boards-Manager. Select ESP8266 and press Update.
This commit is contained in:
@@ -42,12 +42,12 @@ static os_event_t g_loop_queue[LOOP_QUEUE_SIZE];
|
|||||||
|
|
||||||
static uint32_t g_micros_at_task_start;
|
static uint32_t g_micros_at_task_start;
|
||||||
|
|
||||||
|
/*
|
||||||
extern "C" void abort() {
|
extern "C" void abort() {
|
||||||
do {
|
do {
|
||||||
*((int*)0) = 0;
|
*((int*)0) = 0;
|
||||||
} while(true);
|
} while(true);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
extern "C" void esp_yield() {
|
extern "C" void esp_yield() {
|
||||||
if (cont_can_yield(&g_cont)) {
|
if (cont_can_yield(&g_cont)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user