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

Method read

Sming/Core/Wire.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209int TwoWire::read()
210{
211 int value = -1;
212 if(rxBufferIndex < rxBufferLength) {
213 value = rxBuffer[rxBufferIndex];
214 ++rxBufferIndex;
215 }
216 return value;
217}
218
219int TwoWire::peek()
220{

Callers 11

conf.pyFile · 0.45
run_cmd_get_outputFunction · 0.45
gitcmdFunction · 0.45
load_config_varsFunction · 0.45
load_fileMethod · 0.45
update_wokwiFunction · 0.45
updateFromConfigMethod · 0.45
load_jsonFunction · 0.45
mainFunction · 0.45
fileReadFunction · 0.45
concatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected