MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / xprintf

Function xprintf

RemoteIDModule/DroneCAN.cpp:858–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856}
857
858void xprintf(const char *fmt, ...)
859{
860 char buffer[200] {};
861 va_list ap;
862 va_start(ap, fmt);
863 uint32_t n = vsnprintf(buffer, sizeof(buffer), fmt, ap);
864 va_end(ap);
865 Serial.printf("%s", buffer);
866}
867#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected