Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bdring/FluidNC
/ read
Method
read
X86TestSupport/TestSupport/FS.cpp:58–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
int File::read() {
59
if (!*this) {
60
return -1;
61
}
62
63
uint8_t result;
64
if (_p->read(&result, 1) != 1) {
65
return -1;
66
}
67
68
return result;
69
}
70
71
size_t File::read(uint8_t* buf, size_t size) {
72
if (!*this) {
Callers
1
__digitalRead
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected