STM32F1: M43 PINS_DEBUGGING (#14072)

This commit is contained in:
Tanguy Pruvot
2019-06-21 08:20:17 +02:00
committed by Scott Lahteine
parent 81d550754a
commit 52383633e7
6 changed files with 150 additions and 7 deletions

View File

@ -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;
}