Skip to content

Commit 556a1df

Browse files
committed
esp8266/ets_alt_task: Make FIRST_PRIO=0 to cover all task priorities.
FIRST_PRIO=2 works but using 0 is hopefully safer, and can anyway be optimised in the future.
1 parent 9d7b871 commit 556a1df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

esp8266/ets_alt_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static void (*idle_cb)(void *);
2424
static void *idle_arg;
2525

2626
#if ESP_SDK_VERSION >= 010500
27-
# define FIRST_PRIO 3
27+
# define FIRST_PRIO 0
2828
#else
2929
# define FIRST_PRIO 0x14
3030
#endif

0 commit comments

Comments
 (0)