1 parent 97c2628 commit 7261f17Copy full SHA for 7261f17
1 file changed
esp8266/ets_alt_task.c
@@ -3,6 +3,7 @@
3
#include "os_type.h"
4
#include "ets_sys.h"
5
#include "etshal.h"
6
+#include "user_interface.h"
7
8
// Use standard ets_task or alternative impl
9
#define USE_ETS_TASK 0
@@ -103,6 +104,7 @@ bool ets_loop_iter(void) {
103
104
//static unsigned cnt;
105
bool progress = false;
106
for (volatile struct task_entry *t = emu_tasks; t < &emu_tasks[MP_ARRAY_SIZE(emu_tasks)]; t++) {
107
+ system_soft_wdt_feed();
108
ets_intr_lock();
109
//printf("etc_loop_iter: "); dump_task(t - emu_tasks + FIRST_PRIO, t);
110
if (t->i_get != t->i_put) {
0 commit comments