MCPcopy Create free account
hub / github.com/attermann/microReticulum / _write

Function _write

examples/lora_transport/src/main.cpp:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116#if defined(ARDUINO)
117int _write(int file, char *ptr, int len) {
118 int wrote = Serial.write(ptr, len);
119 Serial.flush();
120 return wrote;
121}
122#else
123int getch( ) {
124 termios oldt;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected