Browse Source

Fix: Debug Memory Dump size (#13957)

* Fix Memory Dump size

* Fix Compile error on Memory Dump
Robby Candra 5 years ago
parent
commit
7b78a20fb7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/gcode.cpp

+ 2
- 2
Marlin/src/gcode/gcode.cpp View File

@@ -809,9 +809,9 @@ void GcodeSuite::process_next_command() {
809 809
   if (DEBUGGING(ECHO)) {
810 810
     SERIAL_ECHO_START();
811 811
     SERIAL_ECHOLN(current_command);
812
-    #if ENABLED(M100_FREE_MEMORY_WATCHER)
812
+    #if ENABLED(M100_FREE_MEMORY_DUMPER)
813 813
       SERIAL_ECHOPAIR("slot:", cmd_queue_index_r);
814
-      M100_dump_routine(PSTR("   Command Queue:"), (const char*)command_queue, (const char*)(command_queue + sizeof(command_queue)));
814
+      M100_dump_routine(PSTR("   Command Queue:"), (const char*)command_queue, (const char*)(command_queue) + sizeof(command_queue));
815 815
     #endif
816 816
   }
817 817
 

Loading…
Cancel
Save