Solved it by adding following code at the end of temperature.cpp
DDRJ |= _BV(6); if (current_temperature[0] > (EXTRUDER_AUTO_FAN_TEMPERATURE) || current_temperature[1] > (EXTRUDER_AUTO_FAN_TEMPERATURE)) { PORTJ |= _BV(6); } else if (current_temperature[0] < (EXTRUDER_AUTO_FAN_TEMPERATURE - 2 ) && current_temperature[1] < (EXTRUDER_AUTO_FAN_TEMPERATURE - 2 )) { PORTJ &=~ _BV(6); }
Recommended Posts
nullsibnelf 2
I found on amedee's branch of the old marlin this code
Link to post
Share on other sites