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