Fix various errors, warnings in example config builds (#19686)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
committed by
Scott Lahteine
parent
2c7b5fe1f2
commit
8b4f82cd07
@ -511,11 +511,9 @@ void GcodeSuite::G26() {
|
||||
g26_keep_heaters_on = parser.boolval('K');
|
||||
|
||||
// Accept 'I' if temperature presets are defined
|
||||
const uint8_t preset_index = (0
|
||||
#if PREHEAT_COUNT
|
||||
+ (parser.seenval('I') ? _MIN(parser.value_byte(), PREHEAT_COUNT - 1) + 1 : 0)
|
||||
#endif
|
||||
);
|
||||
#if PREHEAT_COUNT
|
||||
const uint8_t preset_index = parser.seenval('I') ? _MIN(parser.value_byte(), PREHEAT_COUNT - 1) + 1 : 0;
|
||||
#endif
|
||||
|
||||
#if HAS_HEATED_BED
|
||||
|
||||
|
@ -127,7 +127,7 @@ void GcodeSuite::M290() {
|
||||
#else
|
||||
PSTR("Babystep Z")
|
||||
#endif
|
||||
, babystep.axis_total[BS_AXIS_IND(Z_AXIS)]
|
||||
, babystep.axis_total[BS_TOTAL_IND(Z_AXIS)]
|
||||
);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user