MCPcopy Create free account
hub / github.com/SmingHub/Sming / _write

Function _write

Sming/Libraries/RF24/examples/pingpair_maple/main.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 * to _write in libmaple/syscalls.c
42*/
43extern "C" int _write (int file, char * ptr, int len)
44{
45 if ( (file != 1) && (file != 2) )
46 return 0;
47 else
48 SerialUSB.write(ptr,len);
49 return len;
50}
51
52/**
53 * Re-entrant version of _write. Yagarto and Devkit now use

Callers 1

_write_rFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected