mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* basic CAD before TX, for sx126x wrappers
This commit is contained in:
parent
e838f405a7
commit
de27dfacb6
5 changed files with 24 additions and 3 deletions
|
|
@ -30,6 +30,11 @@ void RadioLibWrapper::begin() {
|
|||
}
|
||||
}
|
||||
|
||||
void RadioLibWrapper::idle() {
|
||||
_radio->standby();
|
||||
state = STATE_IDLE; // need another startReceive()
|
||||
}
|
||||
|
||||
int RadioLibWrapper::recvRaw(uint8_t* bytes, int sz) {
|
||||
if (state & STATE_INT_READY) {
|
||||
int len = _radio->getPacketLength();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue