Commit c4911ca3 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Updated to latest IDF.

This fixes the panic-on-restart issue and the crash-on-uart-input-before-flash-mapped issue.

Node module updated to reflect new function names for sleep/restart.
parent 2951e8e0
...@@ -19,7 +19,7 @@ return 1; ...@@ -19,7 +19,7 @@ return 1;
static int node_restart (lua_State *L) static int node_restart (lua_State *L)
{ {
system_restart (); esp_restart ();
return 0; return 0;
} }
...@@ -28,7 +28,7 @@ static int node_restart (lua_State *L) ...@@ -28,7 +28,7 @@ static int node_restart (lua_State *L)
static int node_dsleep (lua_State *L) static int node_dsleep (lua_State *L)
{ {
uint64_t us = luaL_optinteger (L, 1, 0); uint64_t us = luaL_optinteger (L, 1, 0);
system_deep_sleep (us); esp_deep_sleep (us);
return 0; return 0;
} }
......
Subproject commit d467eabadbc90aa0703d3e131e5751f9d09ebdf8 Subproject commit 35ae2cd1a519d22fd05a31f7fd87ca504219f38c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment