|
@@ -888,16 +888,6 @@ int16_t Temperature::getHeaterPower(const heater_id_t heater_id) {
|
888
|
888
|
HOTEND_LOOP() {
|
889
|
889
|
if (temp_hotend[e].celsius >= EXTRUDER_AUTO_FAN_TEMPERATURE) {
|
890
|
890
|
SBI(fanState, pgm_read_byte(&fanBit[e]));
|
891
|
|
- #if MOTHERBOARD == BOARD_ULTIMAIN_2
|
892
|
|
- // For the UM2 the head fan is connected to PJ6, which does not have an Arduino PIN definition. So use direct register access.
|
893
|
|
- // https://github.com/Ultimaker/Ultimaker2Marlin/blob/master/Marlin/temperature.cpp#L553
|
894
|
|
- SBI(DDRJ, 6); SBI(PORTJ, 6);
|
895
|
|
- #endif
|
896
|
|
- }
|
897
|
|
- else {
|
898
|
|
- #if MOTHERBOARD == BOARD_ULTIMAIN_2
|
899
|
|
- SBI(DDRJ, 6); CBI(PORTJ, 6);
|
900
|
|
- #endif
|
901
|
891
|
}
|
902
|
892
|
}
|
903
|
893
|
|