Call _mod->SPIwriteRegister()
not SPIwriteRegister()
This commit is contained in:
parent
a5295432d7
commit
39a4614a77
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ int16_t RF69::startTransmit(uint8_t* data, size_t len, uint8_t addr) {
|
|||
|
||||
// optionally write packet length
|
||||
if (_packetLengthConfig == RF69_PACKET_FORMAT_VARIABLE) {
|
||||
SPIwriteRegister(RF69_REG_FIFO, len);
|
||||
_mod->SPIwriteRegister(RF69_REG_FIFO, len);
|
||||
}
|
||||
|
||||
// check address filtering
|
||||
|
|
Loading…
Add table
Reference in a new issue