Skip to content

Commit 5eb4dfb

Browse files
ellenspptoal
authored andcommittedDec 16, 2021
🐛 Fix sprintf_P compile error (Maple) (MarlinFirmware#22479)
1 parent 8a64433 commit 5eb4dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

+1-1
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)
Please sign in to comment.