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

@ -976,7 +976,7 @@ void setup() {
#endif
#if ENABLED(SPINDLE_LASER_PWM) && defined(SPINDLE_LASER_PWM_PIN) && SPINDLE_LASER_PWM_PIN >= 0
SET_PWM(SPINDLE_LASER_PWM_PIN);
ANALOG_WRITE(SPINDLE_LASER_PWM_PIN, SPINDLE_LASER_PWM_INVERT ? 255 : 0); // set to lowest speed
analogWrite(SPINDLE_LASER_PWM_PIN, SPINDLE_LASER_PWM_INVERT ? 255 : 0); // set to lowest speed
#endif
#endif