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

Method value_long

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

Code value as a long or ulong

Source from the content-addressed store, hash-verified

273
274 // Code value as a long or ulong
275 static int32_t value_long() { return value_ptr ? strtol(value_ptr, nullptr, 10) : 0L; }
276 static uint32_t value_ulong() { return value_ptr ? strtoul(value_ptr, nullptr, 10) : 0UL; }
277
278 // Code value for use as time

Callers 5

M110Method · 0.80
M26Method · 0.80
M32Method · 0.80
M24Method · 0.80
M34Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected