Fix BUTTON_EXISTS and misplaced comma (#13411)

Fixes #13410 and redeclaration of `BUTTON_EXISTS`
2.0.x
Ludy 6 years ago committed by Scott Lahteine
parent 09eb30dc05
commit 59353546e8

@ -187,6 +187,7 @@
#else #else
#undef BUTTON_EXISTS
#define BUTTON_EXISTS(BN) false #define BUTTON_EXISTS(BN) false
// Shift register bits correspond to buttons: // Shift register bits correspond to buttons:

@ -823,8 +823,8 @@ float Temperature::get_pid_output(const int8_t e) {
MSG_PID_DEBUG_PTERM, work_pid[HOTEND_INDEX].Kp, MSG_PID_DEBUG_PTERM, work_pid[HOTEND_INDEX].Kp,
MSG_PID_DEBUG_ITERM, work_pid[HOTEND_INDEX].Ki, MSG_PID_DEBUG_ITERM, work_pid[HOTEND_INDEX].Ki,
MSG_PID_DEBUG_DTERM, work_pid[HOTEND_INDEX].Kd MSG_PID_DEBUG_DTERM, work_pid[HOTEND_INDEX].Kd
#if ENABLED(PID_EXTRUSION_SCALING), #if ENABLED(PID_EXTRUSION_SCALING)
MSG_PID_DEBUG_CTERM, work_pid[HOTEND_INDEX].Kc , MSG_PID_DEBUG_CTERM, work_pid[HOTEND_INDEX].Kc
#endif #endif
); );
#endif #endif

Loading…
Cancel
Save