mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
parent
6f36b7c1cd
commit
56dd31ea3c
@ -3797,7 +3797,7 @@ inline void gcode_M17() {
|
||||
*/
|
||||
inline void gcode_M26() {
|
||||
if (card.cardOK && code_seen('S'))
|
||||
card.setIndex(code_value_short());
|
||||
card.setIndex(code_value_long());
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3869,7 +3869,7 @@ inline void gcode_M31() {
|
||||
card.openFile(namestartpos, true, call_procedure);
|
||||
|
||||
if (code_seen('S') && seen_pointer < namestartpos) // "S" (must occur _before_ the filename!)
|
||||
card.setIndex(code_value_short());
|
||||
card.setIndex(code_value_long());
|
||||
|
||||
card.startFileprint();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user