Add PID_PARAMS_PER_EXTRUDER conditional

master
Scott Lahteine 10 years ago
parent 2d6fa9ce80
commit c610471b0c

@ -806,6 +806,7 @@ static void lcd_control_menu()
} }
#ifdef PIDTEMP #ifdef PIDTEMP
// Helpers for editing PID Ki & Kd values // Helpers for editing PID Ki & Kd values
// grab the PID value out of the temp variable; scale it; then update the PID driver // grab the PID value out of the temp variable; scale it; then update the PID driver
void copy_and_scalePID_i(int e) { void copy_and_scalePID_i(int e) {
@ -818,6 +819,7 @@ static void lcd_control_menu()
} }
void copy_and_scalePID_i_E1() { copy_and_scalePID_i(0); } void copy_and_scalePID_i_E1() { copy_and_scalePID_i(0); }
void copy_and_scalePID_d_E1() { copy_and_scalePID_d(0); } void copy_and_scalePID_d_E1() { copy_and_scalePID_d(0); }
#ifdef PID_PARAMS_PER_EXTRUDER
#if EXTRUDERS > 1 #if EXTRUDERS > 1
void copy_and_scalePID_i_E2() { copy_and_scalePID_i(1); } void copy_and_scalePID_i_E2() { copy_and_scalePID_i(1); }
void copy_and_scalePID_d_E2() { copy_and_scalePID_d(1); } void copy_and_scalePID_d_E2() { copy_and_scalePID_d(1); }
@ -827,10 +829,12 @@ static void lcd_control_menu()
#if EXTRUDERS > 3 #if EXTRUDERS > 3
void copy_and_scalePID_i_E4() { copy_and_scalePID_i(3); } void copy_and_scalePID_i_E4() { copy_and_scalePID_i(3); }
void copy_and_scalePID_d_E5() { copy_and_scalePID_d(3); } void copy_and_scalePID_d_E5() { copy_and_scalePID_d(3); }
#endif #endif //EXTRUDERS > 3
#endif #endif //EXTRUDERS > 2
#endif #endif //EXTRUDERS > 1
#endif #endif //PID_PARAMS_PER_EXTRUDER
#endif //PIDTEMP
static void lcd_control_temperature_menu() static void lcd_control_temperature_menu()
{ {

Loading…
Cancel
Save