MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / using_inch_units

Method using_inch_units

Marlin/src/gcode/parser.h:342–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 #endif
341
342 static bool using_inch_units() { return mm_to_linear_unit(1.0f) != 1.0f; }
343
344 #define IN_TO_MM(I) ((I) * 25.4f)
345 #define MM_TO_IN(M) ((M) / 25.4f)

Callers 5

taskMethod · 0.80
_draw_axis_valueFunction · 0.80
draw_status_screenMethod · 0.80
lcd_move_axisFunction · 0.80
_menu_move_distanceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected