|
@@ -210,7 +210,7 @@ void menu_backlash();
|
210
|
210
|
|
211
|
211
|
// Helpers for editing PID Ki & Kd values
|
212
|
212
|
// grab the PID value out of the temp variable; scale it; then update the PID driver
|
213
|
|
- void copy_and_scalePID_i(const uint8_t e) {
|
|
213
|
+ void copy_and_scalePID_i(const int8_t e) {
|
214
|
214
|
switch (e) {
|
215
|
215
|
#if ENABLED(PIDTEMPBED)
|
216
|
216
|
case H_BED: thermalManager.temp_bed.pid.Ki = scalePID_i(raw_Ki); break;
|
|
@@ -226,7 +226,7 @@ void menu_backlash();
|
226
|
226
|
break;
|
227
|
227
|
}
|
228
|
228
|
}
|
229
|
|
- void copy_and_scalePID_d(const uint8_t e) {
|
|
229
|
+ void copy_and_scalePID_d(const int8_t e) {
|
230
|
230
|
switch (e) {
|
231
|
231
|
#if ENABLED(PIDTEMPBED)
|
232
|
232
|
case H_BED: thermalManager.temp_bed.pid.Kd = scalePID_d(raw_Kd); break;
|