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

Method value_ushort

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

Source from the content-addressed store, hash-verified

282 // Reduce to fewer bits
283 static int16_t value_int() { return (int16_t)value_long(); }
284 static uint16_t value_ushort() { return (uint16_t)value_long(); }
285 static uint8_t value_byte() { return (uint8_t)constrain(value_long(), 0, 255); }
286
287 // Bool is true with no value or non-zero

Callers 11

M106Method · 0.80
M86Method · 0.80
M81Method · 0.80
M504Method · 0.80
G6Method · 0.80
M217Method · 0.80
M122Method · 0.80
M710Method · 0.80
early_parse_M808Method · 0.80
ubl_G29.cppFile · 0.80
G29_parse_parametersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected