Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 12, 2021
1 parent c1f837b commit a932281
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Marlin/src/module/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,9 @@ float Probe::probe_at_point(const_float_t rx, const_float_t ry, const ProbePtRai
#if ENABLED(DELTA)
static int16_t saved_current_X, saved_current_Y;
#endif
static int16_t saved_current_Z;
#if HAS_CURRENT_HOME(Z)
static int16_t saved_current_Z;
#endif
#define HAS_CURRENT_HOME(N) (defined(N##_CURRENT_HOME) && N##_CURRENT_HOME != N##_CURRENT)
#if HAS_CURRENT_HOME(X) || HAS_CURRENT_HOME(Y) || HAS_CURRENT_HOME(Z)
auto debug_current_on = [](PGM_P const s, const int16_t a, const int16_t b) {
Expand Down

0 comments on commit a932281

Please sign in to comment.