LCD position in current units (#20145)
This commit is contained in:
@@ -329,6 +329,10 @@ public:
|
||||
|
||||
#endif
|
||||
|
||||
static inline bool using_inch_units() { return mm_to_linear_unit(1.0f) != 1.0f; }
|
||||
|
||||
#define IN_TO_MM(I) ((I) * 25.4f)
|
||||
#define MM_TO_IN(M) ((M) / 25.4f)
|
||||
#define LINEAR_UNIT(V) parser.mm_to_linear_unit(V)
|
||||
#define VOLUMETRIC_UNIT(V) parser.mm_to_volumetric_unit(V)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user