STM32F1: M43 PINS_DEBUGGING (#14072)
This commit is contained in:
committed by
Scott Lahteine
parent
81d550754a
commit
52383633e7
@ -896,7 +896,7 @@ void Endstops::update() {
|
||||
ES_REPORT_CHANGE(Z3_MAX);
|
||||
#endif
|
||||
SERIAL_ECHOLNPGM("\n");
|
||||
analogWrite(LED_PIN, local_LED_status);
|
||||
analogWrite(pin_t(LED_PIN), local_LED_status);
|
||||
local_LED_status ^= 255;
|
||||
old_live_state_local = live_state_local;
|
||||
}
|
||||
|
@ -1294,13 +1294,13 @@ void Planner::check_axes_activity() {
|
||||
#else
|
||||
|
||||
#if HAS_FAN0
|
||||
analogWrite(FAN_PIN, CALC_FAN_SPEED(0));
|
||||
analogWrite(pin_t(FAN_PIN), CALC_FAN_SPEED(0));
|
||||
#endif
|
||||
#if HAS_FAN1
|
||||
analogWrite(FAN1_PIN, CALC_FAN_SPEED(1));
|
||||
analogWrite(pin_t(FAN1_PIN), CALC_FAN_SPEED(1));
|
||||
#endif
|
||||
#if HAS_FAN2
|
||||
analogWrite(FAN2_PIN, CALC_FAN_SPEED(2));
|
||||
analogWrite(pin_t(FAN2_PIN), CALC_FAN_SPEED(2));
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
|
Reference in New Issue
Block a user