Selaa lähdekoodia

Corected condition for PIDdT

AnHardt 10 vuotta sitten
vanhempi
commit
01cc97a3c3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Näytä tiedosto

45
   #define K2 (1.0-K1)
45
   #define K2 (1.0-K1)
46
 #endif
46
 #endif
47
 
47
 
48
-#ifdef PIDTEMPBED
48
+#if defined(PIDTEMPBED) || defined(PIDTEMP)
49
   #define PID_dT ((OVERSAMPLENR * 12.0)/(F_CPU / 64.0 / 256.0))
49
   #define PID_dT ((OVERSAMPLENR * 12.0)/(F_CPU / 64.0 / 256.0))
50
 #endif
50
 #endif
51
 
51
 

Loading…
Peruuta
Tallenna