virtual_sdcard: Define a default for on_gcode_error

If on_gcode_error is not specified, default to running the
TURN_OFF_HEATERS command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2024-04-15 14:10:36 -04:00
1 parent 36f9b26ef9
commit 2425a74638
3 files changed
+15 -2

No files matched your search

+2 -1
View File
@@ -1472,7 +1472,8 @@ path:
# be provided.
#on_error_gcode:
# A list of G-Code commands to execute when an error is reported.
# See docs/Command_Templates.md for G-Code format. The default is to
# run TURN_OFF_HEATERS.
```
### [sdcard_loop]