heater_ind_t => heater_id_t

This commit is contained in:
Scott Lahteine
2020-09-13 18:06:14 -05:00
parent a941faccb0
commit 2396b4e27f
6 changed files with 64 additions and 64 deletions

View File

@ -62,7 +62,7 @@ void GcodeSuite::M303() {
#define SI TERN(PIDTEMPBED, H_BED, H_E0)
#define EI TERN(PIDTEMP, HOTENDS - 1, H_BED)
const heater_ind_t e = (heater_ind_t)parser.intval('E');
const heater_id_t e = (heater_id_t)parser.intval('E');
if (!WITHIN(e, SI, EI)) {
SERIAL_ECHOLNPGM(STR_PID_BAD_EXTRUDER_NUM);
TERN_(EXTENSIBLE_UI, ExtUI::onPidTuning(ExtUI::result_t::PID_BAD_EXTRUDER_NUM));