|
|
|
@ -1793,7 +1793,7 @@ void Temperature::updateTemperaturesFromRawValues() {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// Init fans according to whether they're native PWM or Software PWM
|
|
|
|
|
#ifdef ALFAWISE_UX0
|
|
|
|
|
#ifdef BOARD_OPENDRAIN_MOSFETS
|
|
|
|
|
#define _INIT_SOFT_FAN(P) OUT_WRITE_OD(P, FAN_INVERTING ? LOW : HIGH)
|
|
|
|
|
#else
|
|
|
|
|
#define _INIT_SOFT_FAN(P) OUT_WRITE(P, FAN_INVERTING ? LOW : HIGH)
|
|
|
|
@ -1886,7 +1886,7 @@ void Temperature::init() {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_HEATER_0
|
|
|
|
|
#ifdef ALFAWISE_UX0
|
|
|
|
|
#ifdef BOARD_OPENDRAIN_MOSFETS
|
|
|
|
|
OUT_WRITE_OD(HEATER_0_PIN, HEATER_0_INVERTING);
|
|
|
|
|
#else
|
|
|
|
|
OUT_WRITE(HEATER_0_PIN, HEATER_0_INVERTING);
|
|
|
|
@ -1916,7 +1916,7 @@ void Temperature::init() {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_HEATED_BED
|
|
|
|
|
#ifdef ALFAWISE_UX0
|
|
|
|
|
#ifdef BOARD_OPENDRAIN_MOSFETS
|
|
|
|
|
OUT_WRITE_OD(HEATER_BED_PIN, HEATER_BED_INVERTING);
|
|
|
|
|
#else
|
|
|
|
|
OUT_WRITE(HEATER_BED_PIN, HEATER_BED_INVERTING);
|
|
|
|
|