Skip to content

Commit e2079a3

Browse files
ellenspmh-dm
authored andcommitted
🐛 Fix sprintf_P compile error (Maple) (MarlinFirmware#22479)
1 parent 6b7e102 commit e2079a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ void DGUSScreenHandler::HandleStepPerMMExtruderChanged(DGUS_VP_Variable &var, vo
559559
#endif
560560
#if ENABLED(PIDTEMPBED)
561561
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"));
563563
break;
564564
#endif
565565
}

0 commit comments

Comments
 (0)