Fixes and improvements for PWM pins (#13383)

This commit is contained in:
Scott Lahteine 2019-03-13 06:51:15 -05:00 committed by GitHub
parent 87162658c4
commit f89b375fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 196 additions and 193 deletions

View file

@ -81,7 +81,7 @@ void controllerfan_update() {
// allows digital or PWM fan output to be used (see M42 handling)
WRITE(CONTROLLER_FAN_PIN, speed);
analogWrite(CONTROLLER_FAN_PIN, speed);
ANALOG_WRITE(CONTROLLER_FAN_PIN, speed);
}
}