Fixes and improvements for PWM pins (#13383)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2019-03-13 06:51:15 -05:00
1 parent 87162658c4
commit f89b375fb9
26 files changed
+196 -193

No files matched your search

+1 -1
View File
@@ -886,7 +886,7 @@ void Endstops::update() {
ES_REPORT_CHANGE(Z3_MAX);
#endif
SERIAL_ECHOLNPGM("\n");
analogWrite(LED_PIN, local_LED_status);
ANALOG_WRITE(LED_PIN, local_LED_status);
local_LED_status ^= 255;
old_live_state_local = live_state_local;
}