Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
task
Method · 0.80
_draw_axis_value
Function · 0.80
draw_status_screen
Method · 0.80
lcd_move_axis
Function · 0.80
_menu_move_distance
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected