[SX126x] Suppress unused variable warning

master
jgromes 2024-12-17 21:05:50 +00:00
rodzic 8c0e8a6586
commit 661b36cc4c
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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