Fix analogWrite ambiguity

This commit is contained in:
Scott Lahteine
2019-07-02 04:04:49 -05:00
parent d6265df962
commit d4415dcf59
8 changed files with 16 additions and 16 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);
analogWrite(pin_t(CONTROLLER_FAN_PIN), speed);
}
}