Pārlūkot izejas kodu

Fix: Debug Memory Dump size (#13957)

* Fix Memory Dump size

* Fix Compile error on Memory Dump
Robby Candra 6 gadus atpakaļ
vecāks
revīzija
7b78a20fb7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      Marlin/src/gcode/gcode.cpp

+ 2
- 2
Marlin/src/gcode/gcode.cpp Parādīt failu

809
   if (DEBUGGING(ECHO)) {
809
   if (DEBUGGING(ECHO)) {
810
     SERIAL_ECHO_START();
810
     SERIAL_ECHO_START();
811
     SERIAL_ECHOLN(current_command);
811
     SERIAL_ECHOLN(current_command);
812
-    #if ENABLED(M100_FREE_MEMORY_WATCHER)
812
+    #if ENABLED(M100_FREE_MEMORY_DUMPER)
813
       SERIAL_ECHOPAIR("slot:", cmd_queue_index_r);
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
     #endif
815
     #endif
816
   }
816
   }
817
 
817
 

Notiek ielāde…
Atcelt
Saglabāt