suppress warnings
This commit is contained in:
parent
cf9a171aa9
commit
f9e1a0ee6c
7 changed files with 56 additions and 22 deletions
|
|
@ -83,7 +83,7 @@ extern float current_temperature_bed;
|
|||
|
||||
#if ENABLED(PID_PARAMS_PER_EXTRUDER)
|
||||
extern float Kp[EXTRUDERS], Ki[EXTRUDERS], Kd[EXTRUDERS], Kc[EXTRUDERS]; // one param per extruder
|
||||
#define PID_PARAM(param,e) param[e] // use macro to point to array value
|
||||
#define PID_PARAM(param, e) param[e] // use macro to point to array value
|
||||
#else
|
||||
extern float Kp, Ki, Kd, Kc; // one param per extruder - saves 20 or 36 bytes of ram (inc array pointer)
|
||||
#define PID_PARAM(param, e) param // use macro to point directly to value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue