[2.0.x] Error for FAST_PWM_FAN with 32 bit CPU (#10798)

This commit is contained in:
Bob Kuhn authored and Scott Lahteine committed 2018-05-20 11:37:55 -05:00
1 parent 16f92dca44
commit d557c84a71
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -1385,7 +1385,7 @@ void Temperature::init() {
#if ENABLED(FAST_PWM_FAN)
void Temperature::setPwmFrequency(const pin_t pin, int val) {
#ifdef ARDUINO
#if defined(ARDUINO) && !defined(ARDUINO_ARCH_SAM)
val &= 0x07;
switch (digitalPinToTimer(pin)) {
#ifdef TCCR0A