Skip to content

Commit

Permalink
#2 исправлена сборка без EXTRUDER_AUTO_FAN_SPEED_CONFIGURABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
ursoft committed Nov 20, 2019
1 parent d5f28e9 commit d3a8ba5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ int16_t Temperature::getHeaterPower(const heater_ind_t heater_id) {
WRITE(P##_AUTO_FAN_PIN, D); \
}while(0)

#ifndef EXTRUDER_AUTO_FAN_SPEED_CONFIGURABLE
#define extruder_auto_fan_speed EXTRUDER_AUTO_FAN_SPEED
#endif
uint8_t fanDone = 0;
for (uint8_t f = 0; f < COUNT(fanBit); f++) {
const uint8_t realFan = pgm_read_byte(&fanBit[f]);
Expand Down

0 comments on commit d3a8ba5

Please sign in to comment.