Make the PRUSA RESET command functional on the miniRambo
This commit is contained in:
parent
542677c080
commit
48b4bdfe8e
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue