* trying setCRC(1)

This commit is contained in:
Scott Powell 2025-03-09 22:15:58 +11:00
parent 3778c0a8ff
commit a259d27cfe
5 changed files with 6 additions and 5 deletions

View file

@ -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;