Misc changes from struct refactor (#15289)
This commit is contained in:
@ -34,6 +34,10 @@
|
||||
#include "scara.h"
|
||||
#endif
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
#include "probe.h"
|
||||
#endif
|
||||
|
||||
// Axis homed and known-position states
|
||||
extern uint8_t axis_homed, axis_known_position;
|
||||
constexpr uint8_t xyz_bits = _BV(X_AXIS) | _BV(Y_AXIS) | _BV(Z_AXIS);
|
||||
|
@ -683,7 +683,7 @@ static float run_z_probe() {
|
||||
* - Raise to the BETWEEN height
|
||||
* - Return the probed Z position
|
||||
*/
|
||||
float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/*=PROBE_PT_NONE*/, const uint8_t verbose_level/*=0*/, const bool probe_relative/*=true*/) {
|
||||
float probe_at_point(const float &rx, const float &ry, const ProbePtRaise raise_after/*=PROBE_PT_NONE*/, const uint8_t verbose_level/*=0*/, const bool probe_relative/*=true*/) {
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
DEBUG_ECHOLNPAIR(
|
||||
">>> probe_pt(", LOGICAL_X_POSITION(rx), ", ", LOGICAL_Y_POSITION(ry),
|
||||
|
@ -39,7 +39,7 @@
|
||||
PROBE_PT_RAISE, // Raise to "between" clearance after run_z_probe
|
||||
PROBE_PT_BIG_RAISE // Raise to big clearance after run_z_probe
|
||||
};
|
||||
float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after=PROBE_PT_NONE, const uint8_t verbose_level=0, const bool probe_relative=true);
|
||||
float probe_at_point(const float &rx, const float &ry, const ProbePtRaise raise_after=PROBE_PT_NONE, const uint8_t verbose_level=0, const bool probe_relative=true);
|
||||
#define DEPLOY_PROBE() set_probe_deployed(true)
|
||||
#define STOW_PROBE() set_probe_deployed(false)
|
||||
#if HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER)
|
||||
|
@ -245,7 +245,7 @@ Temperature thermalManager;
|
||||
int16_t Temperature::maxtemp_raw_CHAMBER = HEATER_CHAMBER_RAW_HI_TEMP;
|
||||
#endif
|
||||
#if WATCH_CHAMBER
|
||||
heater_watch_t Temperature::watch_chamber = { 0 };
|
||||
heater_watch_t Temperature::watch_chamber{0};
|
||||
#endif
|
||||
millis_t Temperature::next_chamber_check_ms;
|
||||
#endif // HAS_HEATED_CHAMBER
|
||||
@ -930,7 +930,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
|
||||
|
||||
#if DISABLED(PID_OPENLOOP)
|
||||
|
||||
static PID_t work_pid = { 0 };
|
||||
static PID_t work_pid{0};
|
||||
static float temp_iState = 0, temp_dState = 0;
|
||||
static bool pid_reset = true;
|
||||
float pid_output = 0;
|
||||
|
Reference in New Issue
Block a user