mirror of
https://github.com/m5stack/M5Stack_MicroPython.git
synced 2026-05-20 10:14:44 -07:00
Fixed bug preventing the 'rshell' and 'ampy' to run
This commit is contained in:
@@ -256,7 +256,8 @@ soft_reset:
|
||||
}
|
||||
// ================================================
|
||||
|
||||
prepareSleepReset(1, "ESP32: soft reboot\r\n");
|
||||
//ToDo: Remember the REPL mode !!
|
||||
prepareSleepReset(0, "ESP32: soft reboot\r\n");
|
||||
esp_restart();
|
||||
|
||||
goto soft_reset;
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.2"
|
||||
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.3"
|
||||
#define MICROPY_GIT_HASH "g139d4989"
|
||||
#define MICROPY_BUILD_DATE "2018-04-04"
|
||||
#define MICROPY_VERSION_MAJOR (3)
|
||||
#define MICROPY_VERSION_MINOR (2)
|
||||
#define MICROPY_VERSION_MICRO (2)
|
||||
#define MICROPY_VERSION_STRING "3.2.2"
|
||||
#define MICROPY_VERSION_MICRO (3)
|
||||
#define MICROPY_VERSION_STRING "3.2.3"
|
||||
#define MICROPY_CORE_VERSION "bcfff4f"
|
||||
#define MICROPY_CORE_DATE "2018-03-30"
|
||||
|
||||
@@ -347,6 +347,11 @@ raw_repl_reset:
|
||||
vstr_reset(&line);
|
||||
} else if (c == CHAR_CTRL_D) {
|
||||
// input finished
|
||||
if (line.len == 0) {
|
||||
mp_hal_stdout_tx_str("soft reboot\r\n");
|
||||
vTaskDelay(1000);
|
||||
goto raw_repl_reset;
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
// let through any other raw 8-bit value
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user