No patch needed for non-libmaple analogWrite

See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
This commit is contained in:
Scott Lahteine
2019-03-13 07:21:10 -05:00
parent f89b375fb9
commit 67bee06e43
21 changed files with 15 additions and 36 deletions

View File

@ -657,7 +657,7 @@ int Temperature::getHeaterPower(const int heater) {
#define _UPDATE_AUTO_FAN(P,D,A) do{ \
if (PWM_PIN(P##_AUTO_FAN_PIN) && EXTRUDER_AUTO_FAN_SPEED < 255) \
ANALOG_WRITE(P##_AUTO_FAN_PIN, A); \
analogWrite(P##_AUTO_FAN_PIN, A); \
else \
WRITE(P##_AUTO_FAN_PIN, D); \
}while(0)