[SX126x] Suppress unused variable warning
This commit is contained in:
parent
8c0e8a6586
commit
661b36cc4c
1 changed files with 2 additions and 0 deletions
|
@ -508,6 +508,8 @@ void SX126x::clearChannelScanAction() {
|
|||
}
|
||||
|
||||
int16_t SX126x::startTransmit(const uint8_t* data, size_t len, uint8_t addr) {
|
||||
(void)addr;
|
||||
|
||||
// check packet length
|
||||
if(len > RADIOLIB_SX126X_MAX_PACKET_LENGTH) {
|
||||
return(RADIOLIB_ERR_PACKET_TOO_LONG);
|
||||
|
|
Loading…
Add table
Reference in a new issue