Fewer includes of vector_3.h
This commit is contained in:
@ -75,10 +75,4 @@ void serial_spaces(uint8_t count) { count *= (PROPORTIONAL_FONT_RATIO); while (c
|
||||
print_xyz(prefix, suffix, xyz[X_AXIS], xyz[Y_AXIS], xyz[Z_AXIS]);
|
||||
}
|
||||
|
||||
#if HAS_ABL
|
||||
void print_xyz(const char* prefix, const char* suffix, const vector_3 &xyz) {
|
||||
print_xyz(prefix, suffix, xyz.x, xyz.y, xyz.z);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -25,10 +25,6 @@
|
||||
|
||||
#include "../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_ABL && ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
#include "../libs/vector_3.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Define debug bit-masks
|
||||
*/
|
||||
@ -243,9 +239,6 @@ void serialprintPGM(const char* str);
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
void print_xyz(const char* prefix, const char* suffix, const float x, const float y, const float z);
|
||||
void print_xyz(const char* prefix, const char* suffix, const float xyz[]);
|
||||
#if HAS_ABL
|
||||
void print_xyz(const char* prefix, const char* suffix, const vector_3 &xyz);
|
||||
#endif
|
||||
#define DEBUG_POS(SUFFIX,VAR) do { print_xyz(PSTR(" " STRINGIFY(VAR) "="), PSTR(" : " SUFFIX "\n"), VAR); } while(0)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user