MCPcopy Create free account
hub / github.com/dmadison/ArduinoXInput / fillBuffer

Function fillBuffer

src/XInput.cpp:580–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580static void fillBuffer(char* buff, const char fill) {
581 uint8_t i = 0;
582 while (true) {
583 if (buff[i] == 0) break;
584 buff[i] = fill;
585 i++;
586 }
587}
588
589void XInputController::printDebug(Print &output) const {
590 const char fillCharacter = '_';

Callers 1

printDebugMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected