Browse Source

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

ellensp 3 years ago
parent
commit
7110c4562e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp

+ 1
- 1
Marlin/src/lcd/extui/dgus/DGUSScreenHandler.cpp View File

559
         #endif
559
         #endif
560
         #if ENABLED(PIDTEMPBED)
560
         #if ENABLED(PIDTEMPBED)
561
           case VP_PID_AUTOTUNE_BED:
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
             break;
563
             break;
564
         #endif
564
         #endif
565
     }
565
     }

Loading…
Cancel
Save