Make the PRUSA RESET command functional on the miniRambo

This commit is contained in:
Voinea Dragos 2021-01-19 13:36:08 +02:00
parent 542677c080
commit 48b4bdfe8e

View file

@ -3920,9 +3920,11 @@ void process_commands()
else if (code_seen("RESET")) { // PRUSA RESET
// careful!
if (farm_mode) {
#if (defined(WATCHDOG) && (MOTHERBOARD == BOARD_EINSY_1_0a))
#ifdef WATCHDOG
#if defined(W25X20CL) && defined(BOOTAPP)
boot_app_magic = BOOT_APP_MAGIC;
boot_app_flags = BOOT_APP_FLG_RUN;
#endif //defined(W25X20CL) && defined(BOOTAPP)
softReset();
#else //WATCHDOG
asm volatile("jmp 0x3E000");