mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-23 12:52:58 +00:00
* trying setCRC(1)
This commit is contained in:
1 parent
3778c0a8ff
commit
a259d27cfe
5 files changed
+6
-5
No files matched your search
@@ -52,10 +52,11 @@ int RadioLibWrapper::recvRaw(uint8_t* bytes, int sz) {
|
||||
int err = _radio->readData(bytes, len);
|
||||
if (err != RADIOLIB_ERR_NONE) {
|
||||
MESH_DEBUG_PRINTLN("RadioLibWrapper: error: readData(%d)", err);
|
||||
len = 0;
|
||||
} else {
|
||||
// Serial.print(" readData() -> "); Serial.println(len);
|
||||
n_recv++;
|
||||
}
|
||||
n_recv++;
|
||||
}
|
||||
state = STATE_IDLE; // need another startReceive()
|
||||
return len;
|
||||
|
||||
Reference in new issue
Block a user