Add parentheses to SD macros
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
* This has no effect during an SD print job
|
||||
*/
|
||||
void GcodeSuite::M73() {
|
||||
if (!IS_SD_PRINTING && parser.seen('P')) {
|
||||
if (!IS_SD_PRINTING() && parser.seen('P')) {
|
||||
progress_bar_percent = parser.value_byte();
|
||||
NOMORE(progress_bar_percent, 100);
|
||||
}
|
||||
|
@@ -450,7 +450,7 @@ inline void get_serial_commands() {
|
||||
#endif
|
||||
;
|
||||
|
||||
if (!IS_SD_PRINTING) return;
|
||||
if (!IS_SD_PRINTING()) return;
|
||||
|
||||
/**
|
||||
* '#' stops reading from SD to the buffer prematurely, so procedural
|
||||
|
Reference in New Issue
Block a user