Sfoglia il codice sorgente

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

ellensp 3 anni fa
parent
commit
7110c4562e
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp

+ 1
- 1
Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp Vedi 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…
Annulla
Salva