diff options
author | Damien George <damien.p.george@gmail.com> | 2016-03-17 16:28:06 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-03-17 16:28:06 +0000 |
commit | 556a1df6fd340a8dc6ededef2c5978391a7b965d (patch) | |
tree | 53cc027506cb7fd603867db4337b3a6e5b4bb850 /esp8266/ets_alt_task.c | |
parent | 9d7b871f589660cd81c5659f40fc2dbf06d44665 (diff) | |
download | micropython-556a1df6fd340a8dc6ededef2c5978391a7b965d.tar.gz micropython-556a1df6fd340a8dc6ededef2c5978391a7b965d.zip |
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.
Diffstat (limited to 'esp8266/ets_alt_task.c')
-rw-r--r-- | esp8266/ets_alt_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/ets_alt_task.c b/esp8266/ets_alt_task.c index 20e32c2eb6..a5c168fb58 100644 --- a/esp8266/ets_alt_task.c +++ b/esp8266/ets_alt_task.c @@ -24,7 +24,7 @@ static void (*idle_cb)(void *); static void *idle_arg; #if ESP_SDK_VERSION >= 010500 -# define FIRST_PRIO 3 +# define FIRST_PRIO 0 #else # define FIRST_PRIO 0x14 #endif |