🔧 Chamber Fan index option (#23262)

This commit is contained in:
ladismrkolj
2021-12-05 22:41:39 +01:00
committed by Scott Lahteine
parent 48358d6a5c
commit 15204470a8
4 changed files with 11 additions and 4 deletions

View File

@ -865,7 +865,9 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
#define INIT_CHAMBER_AUTO_FAN_PIN(P) SET_OUTPUT(P)
#endif
#define CHAMBER_FAN_INDEX HOTENDS
#ifndef CHAMBER_FAN_INDEX
#define CHAMBER_FAN_INDEX HOTENDS
#endif
void Temperature::update_autofans() {
#define _EFAN(B,A) _EFANOVERLAP(A,B) ? B :