소스 검색

Fix: Debug Memory Dump size (#13957)

* Fix Memory Dump size

* Fix Compile error on Memory Dump
Robby Candra 5 년 전
부모
커밋
7b78a20fb7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Marlin/src/gcode/gcode.cpp

+ 2
- 2
Marlin/src/gcode/gcode.cpp 파일 보기

@@ -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…
취소
저장