Browse Source

Single PID dataset with HOTENDS == 1

pull/1/head
Scott Lahteine 9 years ago
parent
commit
3d78b690e5
  1. 6
      Marlin/temperature.h

6
Marlin/temperature.h

@ -76,13 +76,13 @@ class Temperature {
#if ENABLED(PIDTEMP)
#if ENABLED(PID_PARAMS_PER_HOTEND)
#if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1
static float Kp[HOTENDS], Ki[HOTENDS], Kd[HOTENDS];
#if ENABLED(PID_ADD_EXTRUSION_RATE)
static float Kc[HOTENDS];
#endif
#define PID_PARAM(param, e) Temperature::param[e]
#define PID_PARAM(param, h) Temperature::param[h]
#else
@ -90,7 +90,7 @@ class Temperature {
#if ENABLED(PID_ADD_EXTRUSION_RATE)
static float Kc;
#endif
#define PID_PARAM(param, e) Temperature::param
#define PID_PARAM(param, h) Temperature::param
#endif // PID_PARAMS_PER_HOTEND

Loading…
Cancel
Save