mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-09 12:37:17 +02:00
parent
5a01cc86e6
commit
dae638f7c6
8 changed files with 15 additions and 21 deletions
|
@ -232,7 +232,7 @@ class HmRadio : public Radio {
|
|||
}
|
||||
|
||||
void sendPacket(Inverter<> *iv, uint8_t len, bool isRetransmit, bool appendCrc16=true) {
|
||||
updateCrcs(len, appendCrc16);
|
||||
updateCrcs(&len, appendCrc16);
|
||||
|
||||
// set TX and RX channels
|
||||
mTxChIdx = (mTxChIdx + 1) % RF_CHANNELS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue