MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / skip_ws

Method skip_ws

libraries/AP_JSON/AP_JSON.cpp:437–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435 return line_;
436 }
437 void skip_ws()
438 {
439 while (1) {
440 int ch = getc();
441 if (!(ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r')) {
442 ungetc();
443 break;
444 }
445 }
446 }
447 bool expect(const int expected)
448 {
449 skip_ws();

Callers 1

_parseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected