mirror of
https://github.com/synthetos/g2.git
synced 2026-09-21 10:35:38 +08:00
Fix where gcode flavor wasn’t reset on disconnect.
This commit is contained in:
@@ -324,6 +324,7 @@ void _reset_comms_mode() {
|
||||
// reset the communications mode
|
||||
cs.comm_mode = COMM_MODE;
|
||||
js.json_mode = (COMM_MODE < AUTO_MODE) ? COMM_MODE : JSON_MODE;
|
||||
mst.marlin_flavor = false;
|
||||
sr.status_report_verbosity = STATUS_REPORT_VERBOSITY;
|
||||
qr.queue_report_verbosity = QUEUE_REPORT_VERBOSITY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user