Browse Source

String optimize followup

Scott Lahteine 4 years ago
parent
commit
b5c2190b38
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp View File

521
     openFailed(fname);
521
     openFailed(fname);
522
 }
522
 }
523
 
523
 
524
-inline void echo_write_to_file(char * const fname) {
524
+inline void echo_write_to_file(const char * const fname) {
525
   SERIAL_ECHOLNPAIR(STR_SD_WRITE_TO_FILE, fname);
525
   SERIAL_ECHOLNPAIR(STR_SD_WRITE_TO_FILE, fname);
526
 }
526
 }
527
 
527
 

Loading…
Cancel
Save