Browse Source

M32 followup

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

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

@@ -562,8 +562,7 @@ void CardReader::openFileRead(char * const path, const uint8_t subcall_type/*=0*
562 562
 
563 563
         // Store current filename (based on workDirParents) and position
564 564
         getAbsFilename(proc_filenames[file_subcall_ctr]);
565
-
566
-        TERN_(HAS_MEDIA_SUBCALLS, filespos[file_subcall_ctr] = sdpos);
565
+        filespos[file_subcall_ctr] = sdpos;
567 566
 
568 567
         // For sub-procedures say 'SUBROUTINE CALL target: "..." parent: "..." pos12345'
569 568
         SERIAL_ECHO_START();

Loading…
Cancel
Save