Browse Source

🐛 Fix sprintf_P compile error (Maple) (#22479)

ellensp 3 years ago
parent
commit
7110c4562e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp

+ 1
- 1
Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp View File

@@ -559,7 +559,7 @@ void DGUSScreenHandler::HandleStepPerMMExtruderChanged(DGUS_VP_Variable &var, vo
559 559
         #endif
560 560
         #if ENABLED(PIDTEMPBED)
561 561
           case VP_PID_AUTOTUNE_BED:
562
-            sprintf_P(buf, PSTR("M303 E-1 C5 S70 U1"));
562
+            strcpy_P(buf, PSTR("M303 E-1 C5 S70 U1"));
563 563
             break;
564 564
         #endif
565 565
     }

Loading…
Cancel
Save