mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-02-19 10:52:28 -07:00
Add a ZERO macro to clear arrays
This commit is contained in:
parent
627f9d5285
commit
5f5a55a0de
6 changed files with 8 additions and 7 deletions
|
|
@ -36,7 +36,7 @@ CardReader::CardReader() {
|
|||
sdpos = 0;
|
||||
workDirDepth = 0;
|
||||
file_subcall_ctr = 0;
|
||||
memset(workDirParents, 0, sizeof(workDirParents));
|
||||
ZERO(workDirParents);
|
||||
|
||||
autostart_stilltocheck = true; //the SD start is delayed, because otherwise the serial cannot answer fast enough to make contact with the host software.
|
||||
autostart_index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue