MCPcopy Create free account
hub / github.com/Seeed-Studio/Seeed_Arduino_CAN / parseNibbleWithLimit

Method parseNibbleWithLimit

src/can-serial.cpp:570–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570INT8U HexHelper::parseNibbleWithLimit(INT8U hex, INT8U limit) {
571 INT8U ret = parseNibble(hex);
572 if (ret < limit)
573 return ret;
574 else
575 return 0;
576}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected