Allow setting PIDTEMP and PIDTEMPBED together or apart
This commit is contained in:
parent
5cb8ec68ae
commit
ba84d8d091
5 changed files with 101 additions and 35 deletions
|
|
@ -1343,7 +1343,7 @@ static void lcd_control_menu() {
|
|||
static void _lcd_autotune(int e) {
|
||||
char cmd[30];
|
||||
sprintf_P(cmd, PSTR("M303 U1 E%d S%d"), e,
|
||||
#if ENABLED(PIDTEMP) && ENABLED(PIDTEMPBED)
|
||||
#if HAS_PID_FOR_BOTH
|
||||
e < 0 ? autotune_temp_bed : autotune_temp[e]
|
||||
#elif ENABLED(PIDTEMPBED)
|
||||
autotune_temp_bed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue