Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e2079a3

Browse files
ellenspmh-dm
authored andcommittedMay 15, 2022
šŸ› Fix sprintf_P compile error (Maple) (MarlinFirmware#22479)
1 parent 6b7e102 commit e2079a3

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.