Skip to content

Commit

Permalink
🐛 Fix sprintf_P compile error (Maple) (MarlinFirmware#22479)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and ptoal committed Dec 16, 2021
1 parent 8a64433 commit 5eb4dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ void DGUSScreenHandler::HandleStepPerMMExtruderChanged(DGUS_VP_Variable &var, vo
#endif
#if ENABLED(PIDTEMPBED)
case VP_PID_AUTOTUNE_BED:
sprintf_P(buf, PSTR("M303 E-1 C5 S70 U1"));
strcpy_P(buf, PSTR("M303 E-1 C5 S70 U1"));
break;
#endif
}
Expand Down

0 comments on commit 5eb4dfb

Please sign in to comment.