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

Method flushASCII

libraries/SHEX/SHEX.cpp:197–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196
197void SHEXA::flushASCII()
198{
199 int len = _charCount % _length;
200 if (len == 0) len = _length;
201 // else print about (_length - len) * 3 of spaces ...
202 for (uint8_t i = 0; i < len;)
203 {
204 _stream->write(_txtbuf[i++]);
205 if ((i % 8) == 0)_stream->print(" ");
206 }
207}
208
209
210// -- END OF FILE --

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected