Merge pull request #3276 from thinkyhead/rc_sdprint_and_lcd_sleuth
Refinements, fixes, reduced stack usage in CardReader
This commit is contained in:
commit
f0b96f5cae
4 changed files with 26 additions and 35 deletions
|
|
@ -3704,7 +3704,7 @@ inline void gcode_M31() {
|
|||
bool call_procedure = code_seen('P') && (seen_pointer < namestartpos);
|
||||
|
||||
if (card.cardOK) {
|
||||
card.openFile(namestartpos, true, !call_procedure);
|
||||
card.openFile(namestartpos, true, call_procedure);
|
||||
|
||||
if (code_seen('S') && seen_pointer < namestartpos) // "S" (must occur _before_ the filename!)
|
||||
card.setIndex(code_value_short());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue