Sfoglia il codice sorgente

M110 is a known command

- The command parser now displays “unknown command” in more cases.
Known commands must be added to the `switch` inside `process_commands`
to suppress the error.
Scott Lahteine 10 anni fa
parent
commit
03d5709b09
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      Marlin/Marlin_main.cpp

+ 2
- 0
Marlin/Marlin_main.cpp Vedi File

@@ -5392,6 +5392,8 @@ void process_next_command() {
5392 5392
         gcode_M109();
5393 5393
         break;
5394 5394
 
5395
+      case 110: break; // M110: Set line number - don't show "unknown command"
5396
+
5395 5397
       #if HAS_TEMP_BED
5396 5398
         case 190: // M190: Wait for bed heater to reach target
5397 5399
           gcode_M190();

Loading…
Annulla
Salva