Add parentheses to SD macros
This commit is contained in:
1 parent
aa9202260d
commit
c6a5c74208
11 files changed
+27
-27
No files matched your search
@@ -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