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,7 +521,7 @@ void CardReader::openFileRead(char * const path, const uint8_t subcall_type/*=0*
521 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 525
   SERIAL_ECHOLNPAIR(STR_SD_WRITE_TO_FILE, fname);
526 526
 }
527 527
 

Loading…
Cancel
Save