Skip to content

Commit

Permalink
j/k
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 27, 2020
1 parent f547df6 commit b06a647
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Marlin/src/feature/tramming.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ static_assert(_NR_TRAM_NAMES >= G35_PROBE_COUNT, "Define enough TRAMMING_POINT_N

extern PGM_P const tramming_point_name[];

#define DECLARE_OR_INLINE(C,F) IF_DISABLED(C,inline) F IF_DISABLED(C,{})

DECLARE_OR_INLINE(ASSISTED_TRAMMING_WAIT_POSITION, void move_to_tramming_wait_pos());
#if ENABLED(ASSISTED_TRAMMING_WAIT_POSITION)
void move_to_tramming_wait_pos();
#else
inline void move_to_tramming_wait_pos() {}
#endif

0 comments on commit b06a647

Please sign in to comment.