Browse Source

Fix Anycubic Chiron TFT SD menu (#21183)

Nick 4 years ago
parent
commit
73e354b7a0
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/extui/lib/anycubic_chiron/FileNavigator.cpp View File

@@ -114,7 +114,7 @@ namespace Anycubic {
114 114
     }
115 115
     else {
116 116
       // Logical Name
117
-      TFTSer.print("/");
117
+      TFTSer.write('/');
118 118
       if (folderdepth > 0) TFTSer.print(currentfoldername);
119 119
 
120 120
       TFTSer.println(filelist.shortFilename());

+ 2
- 2
Marlin/src/lcd/extui/lib/anycubic_chiron/chiron_tft.cpp View File

@@ -578,8 +578,8 @@ namespace Anycubic {
578 578
       case 15:   // A15 Resuming from outage
579 579
         if (printer_state == AC_printer_resuming_from_power_outage) {
580 580
           // Need to home here to restore the Z position
581
-          injectCommands(AC_cmnd_power_loss_recovery);
582
-          injectCommands("M1000");  // home and start recovery
581
+          injectCommands_P(AC_cmnd_power_loss_recovery);
582
+          injectCommands_P(PSTR("M1000"));  // home and start recovery
583 583
         }
584 584
         break;
585 585
 

Loading…
Cancel
Save