Add PRUSA RESET command in farm mode.
This commit is contained in:
parent
9ba49affc6
commit
32165dedb0
1 changed files with 8 additions and 0 deletions
|
@ -3259,6 +3259,14 @@ void process_commands()
|
||||||
}
|
}
|
||||||
else if (code_seen("thx")) {
|
else if (code_seen("thx")) {
|
||||||
no_response = false;
|
no_response = false;
|
||||||
|
} else if (code_seen("RESET")) {
|
||||||
|
// careful!
|
||||||
|
if (farm_mode) {
|
||||||
|
asm volatile(" jmp 0x3E000");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
MYSERIAL.println("Not in farm mode.");
|
||||||
|
}
|
||||||
}else if (code_seen("fv")) {
|
}else if (code_seen("fv")) {
|
||||||
// get file version
|
// get file version
|
||||||
#ifdef SDSUPPORT
|
#ifdef SDSUPPORT
|
||||||
|
|
Loading…
Reference in a new issue