MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setBytesPerLine

Method setBytesPerLine

libraries/SHEX/SHEX.cpp:97–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96
97void SHEX::setBytesPerLine(const uint8_t length)
98{
99 // force multiple of 4; max 32
100 _length = ((length + 3) / 4) * 4;
101 if (_length > SHEX_MAX_LENGTH)
102 {
103 _length = SHEX_MAX_LENGTH;
104 }
105 if (_length < SHEX_MIN_LENGTH)
106 {
107 _length = SHEX_MIN_LENGTH;
108 }
109 restartOutput();
110}
111
112
113void SHEX::setVTAB(uint8_t vtab)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64