diff --git a/_build_opt_8h_source.html b/_build_opt_8h_source.html
index 9d2c26ef..0f879887 100644
--- a/_build_opt_8h_source.html
+++ b/_build_opt_8h_source.html
@@ -232,363 +232,365 @@ $(document).ready(function(){initNavTree('_build_opt_8h_source.html',''); initRe
144 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
145 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
146 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
-
-
- 149 #define RADIOLIB_TONE_UNSUPPORTED
- 150 #define RADIOLIB_MBED_TONE_OVERRIDE
-
- 152 #elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
-
- 154 #define RADIOLIB_PLATFORM "Portenta H7"
- 155 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
- 156 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
- 157 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
-
-
- 160 #define RADIOLIB_TONE_UNSUPPORTED
- 161 #define RADIOLIB_MBED_TONE_OVERRIDE
-
- 163 #elif defined(__STM32F4__) || defined(__STM32F1__)
-
- 165 #define RADIOLIB_PLATFORM "STM32duino (unofficial)"
- 166 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (WiringPinMode)
- 167 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (ExtIntTriggerMode)
-
- 169 #elif defined(ARDUINO_ARCH_MEGAAVR)
-
- 171 #define RADIOLIB_PLATFORM "MegaCoreX"
-
- 173 #elif defined(ARDUINO_ARCH_MBED_RP2040)
-
- 175 #define RADIOLIB_PLATFORM "Raspberry Pi Pico"
- 176 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
- 177 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
- 178 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
-
-
- 181 #define RADIOLIB_TONE_UNSUPPORTED
- 182 #define RADIOLIB_MBED_TONE_OVERRIDE
-
- 184 #elif defined(ARDUINO_ARCH_RP2040)
-
- 186 #define RADIOLIB_PLATFORM "Raspberry Pi Pico (unofficial)"
- 187 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
- 188 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
- 189 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
-
- 191 #elif defined(__ASR6501__) || defined(ARDUINO_ARCH_ASR650X) || defined(DARDUINO_ARCH_ASR6601)
-
- 193 #define RADIOLIB_PLATFORM "CubeCell"
- 194 #define RADIOLIB_DEFAULT_SPI_SETTINGS SPISettings(1000000, MSBFIRST, SPI_MODE0)
- 195 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PINMODE)
- 196 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (IrqModes)
-
-
- 199 #include "board-config.h"
- 200 #define RADIOLIB_BUILTIN_MODULE RADIO_NSS, RADIO_DIO_1, RADIO_RESET, RADIO_BUSY
-
-
-
-
-
-
-
-
- 209 #define RADIOLIB_TYPE_ALIAS(type, alias) typedef class type alias;
-
-
- 212 #define RADIOLIB_TONE_UNSUPPORTED
-
-
- 215 #define RADIOLIB_YIELD_UNSUPPORTED
-
-
-
-
-
-
- 222 #define RADIOLIB_PLATFORM "RasPiArduino"
-
-
- 225 #define RADIOLIB_TONE_UNSUPPORTED
-
-
- 228 #define RADIOLIB_YIELD_UNSUPPORTED
-
-
- 231 #define PGM_P const char *
-
-
-
-
- 236 inline unsigned long millis() {
return((
unsigned long)(STCV / 1000)); };
-
-
-
-
- 241 inline unsigned long micros() {
return((
unsigned long)(STCV)); };
-
-
- 244 #elif defined(TEENSYDUINO)
-
- 246 #define RADIOLIB_PLATFORM "Teensy"
-
- 248 #elif defined(ARDUINO_ARCH_RENESAS)
-
- 250 #define RADIOLIB_PLATFORM "Arduino Renesas (UNO R4)"
- 251 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
- 252 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
- 253 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
-
-
-
- 257 #define RADIOLIB_PLATFORM "Unknown Arduino"
- 258 #define RADIOLIB_UNKNOWN_PLATFORM
-
-
+ 147 #define RADIOLIB_EEPROM_UNSUPPORTED
+
+
+ 150 #define RADIOLIB_TONE_UNSUPPORTED
+ 151 #define RADIOLIB_MBED_TONE_OVERRIDE
+
+ 153 #elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
+
+ 155 #define RADIOLIB_PLATFORM "Portenta H7"
+ 156 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
+ 157 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
+ 158 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
+
+
+ 161 #define RADIOLIB_TONE_UNSUPPORTED
+ 162 #define RADIOLIB_MBED_TONE_OVERRIDE
+
+ 164 #elif defined(__STM32F4__) || defined(__STM32F1__)
+
+ 166 #define RADIOLIB_PLATFORM "STM32duino (unofficial)"
+ 167 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (WiringPinMode)
+ 168 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (ExtIntTriggerMode)
+
+ 170 #elif defined(ARDUINO_ARCH_MEGAAVR)
+
+ 172 #define RADIOLIB_PLATFORM "MegaCoreX"
+
+ 174 #elif defined(ARDUINO_ARCH_MBED_RP2040)
+
+ 176 #define RADIOLIB_PLATFORM "Raspberry Pi Pico"
+ 177 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
+ 178 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
+ 179 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
+ 180 #define RADIOLIB_EEPROM_UNSUPPORTED
+
+
+ 183 #define RADIOLIB_TONE_UNSUPPORTED
+ 184 #define RADIOLIB_MBED_TONE_OVERRIDE
+
+ 186 #elif defined(ARDUINO_ARCH_RP2040)
+
+ 188 #define RADIOLIB_PLATFORM "Raspberry Pi Pico (unofficial)"
+ 189 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
+ 190 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
+ 191 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
+
+ 193 #elif defined(__ASR6501__) || defined(ARDUINO_ARCH_ASR650X) || defined(DARDUINO_ARCH_ASR6601)
+
+ 195 #define RADIOLIB_PLATFORM "CubeCell"
+ 196 #define RADIOLIB_DEFAULT_SPI_SETTINGS SPISettings(1000000, MSBFIRST, SPI_MODE0)
+ 197 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PINMODE)
+ 198 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (IrqModes)
+
+
+ 201 #include "board-config.h"
+ 202 #define RADIOLIB_BUILTIN_MODULE RADIO_NSS, RADIO_DIO_1, RADIO_RESET, RADIO_BUSY
+
+
+
+
+
+
+
+
+ 211 #define RADIOLIB_TYPE_ALIAS(type, alias) typedef class type alias;
+
+
+ 214 #define RADIOLIB_TONE_UNSUPPORTED
+
+
+ 217 #define RADIOLIB_YIELD_UNSUPPORTED
+
+
+
+
+
+
+ 224 #define RADIOLIB_PLATFORM "RasPiArduino"
+
+
+ 227 #define RADIOLIB_TONE_UNSUPPORTED
+
+
+ 230 #define RADIOLIB_YIELD_UNSUPPORTED
+
+
+ 233 #define PGM_P const char *
+
+
+
+
+ 238 inline unsigned long millis() {
return((
unsigned long)(STCV / 1000)); };
+
+
+
+
+ 243 inline unsigned long micros() {
return((
unsigned long)(STCV)); };
+
+
+ 246 #elif defined(TEENSYDUINO)
+
+ 248 #define RADIOLIB_PLATFORM "Teensy"
+
+ 250 #elif defined(ARDUINO_ARCH_RENESAS)
+
+ 252 #define RADIOLIB_PLATFORM "Arduino Renesas (UNO R4)"
+ 253 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST (PinMode)
+ 254 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST (PinStatus)
+ 255 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST (PinStatus)
+
+
+
+ 259 #define RADIOLIB_PLATFORM "Unknown Arduino"
+ 260 #define RADIOLIB_UNKNOWN_PLATFORM
-
-
- 264 #if !defined(RADIOLIB_NC)
- 265 #define RADIOLIB_NC (0xFFFFFFFF)
-
-
- 268 #if !defined(RADIOLIB_DEFAULT_SPI)
- 269 #define RADIOLIB_DEFAULT_SPI SPI
-
-
- 272 #if !defined(RADIOLIB_DEFAULT_SPI_SETTINGS)
- 273 #define RADIOLIB_DEFAULT_SPI_SETTINGS SPISettings(2000000, MSBFIRST, SPI_MODE0)
-
-
- 276 #if !defined(RADIOLIB_NONVOLATILE)
- 277 #define RADIOLIB_NONVOLATILE PROGMEM
-
-
- 280 #if !defined(RADIOLIB_NONVOLATILE_PTR)
- 281 #define RADIOLIB_NONVOLATILE_PTR PGM_P
-
-
- 284 #if !defined(RADIOLIB_NONVOLATILE_READ_BYTE)
- 285 #define RADIOLIB_NONVOLATILE_READ_BYTE(addr) pgm_read_byte(addr)
-
-
- 288 #if !defined(RADIOLIB_NONVOLATILE_READ_DWORD)
- 289 #define RADIOLIB_NONVOLATILE_READ_DWORD(addr) pgm_read_dword(addr)
-
-
- 292 #if !defined(RADIOLIB_TYPE_ALIAS)
- 293 #define RADIOLIB_TYPE_ALIAS(type, alias) using alias = type;
-
-
- 296 #if !defined(RADIOLIB_ARDUINOHAL_PIN_MODE_CAST)
- 297 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST
-
-
- 300 #if !defined(RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST)
- 301 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST
-
-
- 304 #if !defined(RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST)
- 305 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST
-
-
-
-
- 310 #define RADIOLIB_PLATFORM "Generic"
-
- 312 #define RADIOLIB_NC (0xFF)
- 313 #define RADIOLIB_NONVOLATILE
- 314 #define RADIOLIB_NONVOLATILE_READ_BYTE(addr) (*((uint8_t *)(void *)(addr)))
- 315 #define RADIOLIB_NONVOLATILE_READ_DWORD(addr) (*((uint32_t *)(void *)(addr)))
- 316 #define RADIOLIB_TYPE_ALIAS(type, alias) using alias = type;
-
- 318 #if !defined(RADIOLIB_DEBUG_PORT)
- 319 #define RADIOLIB_DEBUG_PORT stdout
-
-
-
-
-
-
-
-
+
+
+
+
+ 266 #if !defined(RADIOLIB_NC)
+ 267 #define RADIOLIB_NC (0xFFFFFFFF)
+
+
+ 270 #if !defined(RADIOLIB_DEFAULT_SPI)
+ 271 #define RADIOLIB_DEFAULT_SPI SPI
+
+
+ 274 #if !defined(RADIOLIB_DEFAULT_SPI_SETTINGS)
+ 275 #define RADIOLIB_DEFAULT_SPI_SETTINGS SPISettings(2000000, MSBFIRST, SPI_MODE0)
+
+
+ 278 #if !defined(RADIOLIB_NONVOLATILE)
+ 279 #define RADIOLIB_NONVOLATILE PROGMEM
+
+
+ 282 #if !defined(RADIOLIB_NONVOLATILE_PTR)
+ 283 #define RADIOLIB_NONVOLATILE_PTR PGM_P
+
+
+ 286 #if !defined(RADIOLIB_NONVOLATILE_READ_BYTE)
+ 287 #define RADIOLIB_NONVOLATILE_READ_BYTE(addr) pgm_read_byte(addr)
+
+
+ 290 #if !defined(RADIOLIB_NONVOLATILE_READ_DWORD)
+ 291 #define RADIOLIB_NONVOLATILE_READ_DWORD(addr) pgm_read_dword(addr)
+
+
+ 294 #if !defined(RADIOLIB_TYPE_ALIAS)
+ 295 #define RADIOLIB_TYPE_ALIAS(type, alias) using alias = type;
+
+
+ 298 #if !defined(RADIOLIB_ARDUINOHAL_PIN_MODE_CAST)
+ 299 #define RADIOLIB_ARDUINOHAL_PIN_MODE_CAST
+
+
+ 302 #if !defined(RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST)
+ 303 #define RADIOLIB_ARDUINOHAL_PIN_STATUS_CAST
+
+
+ 306 #if !defined(RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST)
+ 307 #define RADIOLIB_ARDUINOHAL_INTERRUPT_MODE_CAST
+
+
+
+
+ 312 #define RADIOLIB_PLATFORM "Generic"
+
+ 314 #define RADIOLIB_NC (0xFF)
+ 315 #define RADIOLIB_NONVOLATILE
+ 316 #define RADIOLIB_NONVOLATILE_READ_BYTE(addr) (*((uint8_t *)(void *)(addr)))
+ 317 #define RADIOLIB_NONVOLATILE_READ_DWORD(addr) (*((uint32_t *)(void *)(addr)))
+ 318 #define RADIOLIB_TYPE_ALIAS(type, alias) using alias = type;
+
+ 320 #if !defined(RADIOLIB_DEBUG_PORT)
+ 321 #define RADIOLIB_DEBUG_PORT stdout
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
- 338 #if !defined(RADIOLIB_DEBUG)
-
-
- 341 #if !defined(RADIOLIB_VERBOSE)
-
-
-
-
-
- 347 #if defined(RADIOLIB_BUILD_ARDUINO) && !defined(RADIOLIB_DEBUG_PORT)
- 348 #define RADIOLIB_DEBUG_PORT Serial
-
-
-
-
-
-
-
-
- 357 #if !defined(RADIOLIB_SPI_PARANOID)
- 358 #define RADIOLIB_SPI_PARANOID
-
-
-
-
-
-
-
-
-
- 368 #if !defined(RADIOLIB_CHECK_PARAMS)
- 369 #define RADIOLIB_CHECK_PARAMS
-
-
-
-
-
-
-
-
- 378 #if !defined(RADIOLIB_FIX_ERRATA_SX127X)
-
-
-
-
-
-
-
-
- 387 #if !defined(RADIOLIB_GODMODE)
-
-
-
-
-
-
-
-
- 396 #if !defined(RADIOLIB_LOW_LEVEL)
-
-
-
-
-
-
- 403 #if !defined(RADIOLIB_RADIOSHIELD)
-
-
-
-
-
-
-
- 411 #if !defined(RADIOLIB_INTERRUPT_TIMING)
-
-
-
-
-
-
-
- 419 #if !defined(RADIOLIB_STATIC_ONLY)
-
-
-
-
- 424 #if !defined(RADIOLIB_STATIC_ARRAY_SIZE)
- 425 #define RADIOLIB_STATIC_ARRAY_SIZE (256)
-
-
-
-
-
-
-
-
- 434 #if !defined(RADIOLIB_HAL_PERSISTENT_STORAGE_BASE)
- 435 #define RADIOLIB_HAL_PERSISTENT_STORAGE_BASE (0)
-
-
-
- 439 #if !defined(RADIOLIB_HAL_PERSISTENT_STORAGE_SIZE)
- 440 #define RADIOLIB_HAL_PERSISTENT_STORAGE_SIZE (0x60)
-
-
-
-
- 445 #if (!defined(ARDUINO_ARCH_STM32) || !defined(SUBGHZSPI_BASE)) && !defined(DOXYGEN)
- 446 #define RADIOLIB_EXCLUDE_STM32WLX
-
-
- 449 #if defined(RADIOLIB_DEBUG)
- 450 #if defined(RADIOLIB_BUILD_ARDUINO)
- 451 #define RADIOLIB_DEBUG_PRINT(...) Module::serialPrintf(__VA_ARGS__)
- 452 #define RADIOLIB_DEBUG_PRINTLN(M, ...) Module::serialPrintf(M "\n", ##__VA_ARGS__)
-
- 454 #if !defined(RADIOLIB_DEBUG_PRINT)
- 455 #define RADIOLIB_DEBUG_PRINT(...) fprintf(RADIOLIB_DEBUG_PORT, __VA_ARGS__)
-
- 457 #if !defined(RADIOLIB_DEBUG_PRINTLN)
- 458 #define RADIOLIB_DEBUG_PRINTLN(M, ...) fprintf(RADIOLIB_DEBUG_PORT, M "\n", ##__VA_ARGS__)
-
-
- 461 #define RADIOLIB_DEBUG_HEXDUMP(...) Module::hexdump(__VA_ARGS__)
-
- 463 #define RADIOLIB_DEBUG_PRINT(...) {}
- 464 #define RADIOLIB_DEBUG_PRINTLN(...) {}
- 465 #define RADIOLIB_DEBUG_HEXDUMP(...) {}
-
-
- 468 #if defined(RADIOLIB_VERBOSE)
- 469 #define RADIOLIB_VERBOSE_PRINT(...) RADIOLIB_DEBUG_PRINT(__VA_ARGS__)
- 470 #define RADIOLIB_VERBOSE_PRINTLN(...) RADIOLIB_DEBUG_PRINTLN(__VA_ARGS__)
-
- 472 #define RADIOLIB_VERBOSE_PRINT(...) {}
- 473 #define RADIOLIB_VERBOSE_PRINTLN(...) {}
-
-
- 479 #define RADIOLIB_ASSERT(STATEVAR) { if((STATEVAR) != RADIOLIB_ERR_NONE) { return(STATEVAR); } }
-
- 484 #if defined(RADIOLIB_CHECK_PARAMS)
- 485 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
-
- 487 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) {}
-
-
- 490 #if defined(RADIOLIB_FIX_ERRATA_SX127X)
- 491 #define RADIOLIB_ERRATA_SX127X(...) { errataFix(__VA_ARGS__); }
-
- 493 #define RADIOLIB_ERRATA_SX127X(...) {}
-
-
-
- 497 #define RADIOLIB_MIN(a,b) ((a)<(b)?(a):(b))
- 498 #define RADIOLIB_MAX(a,b) ((a)>(b)?(a):(b))
- 499 #define RADIOLIB_ABS(x) ((x)>0?(x):-(x))
-
-
- 502 #define RADIOLIB_VERSION_MAJOR (0x06)
- 503 #define RADIOLIB_VERSION_MINOR (0x01)
- 504 #define RADIOLIB_VERSION_PATCH (0x00)
- 505 #define RADIOLIB_VERSION_EXTRA (0x00)
-
- 507 #define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MINOR << 16) | (RADIOLIB_VERSION_PATCH << 8) | (RADIOLIB_VERSION_EXTRA))
+
+
+
+
+
+
+
+
+
+ 340 #if !defined(RADIOLIB_DEBUG)
+
+
+ 343 #if !defined(RADIOLIB_VERBOSE)
+
+
+
+
+
+ 349 #if defined(RADIOLIB_BUILD_ARDUINO) && !defined(RADIOLIB_DEBUG_PORT)
+ 350 #define RADIOLIB_DEBUG_PORT Serial
+
+
+
+
+
+
+
+
+ 359 #if !defined(RADIOLIB_SPI_PARANOID)
+ 360 #define RADIOLIB_SPI_PARANOID
+
+
+
+
+
+
+
+
+
+ 370 #if !defined(RADIOLIB_CHECK_PARAMS)
+ 371 #define RADIOLIB_CHECK_PARAMS
+
+
+
+
+
+
+
+
+ 380 #if !defined(RADIOLIB_FIX_ERRATA_SX127X)
+
+
+
+
+
+
+
+
+ 389 #if !defined(RADIOLIB_GODMODE)
+
+
+
+
+
+
+
+
+ 398 #if !defined(RADIOLIB_LOW_LEVEL)
+
+
+
+
+
+
+ 405 #if !defined(RADIOLIB_RADIOSHIELD)
+
+
+
+
+
+
+
+ 413 #if !defined(RADIOLIB_INTERRUPT_TIMING)
+
+
+
+
+
+
+
+ 421 #if !defined(RADIOLIB_STATIC_ONLY)
+
+
+
+
+ 426 #if !defined(RADIOLIB_STATIC_ARRAY_SIZE)
+ 427 #define RADIOLIB_STATIC_ARRAY_SIZE (256)
+
+
+
+
+
+
+
+
+ 436 #if !defined(RADIOLIB_HAL_PERSISTENT_STORAGE_BASE)
+ 437 #define RADIOLIB_HAL_PERSISTENT_STORAGE_BASE (0)
+
+
+
+ 441 #if !defined(RADIOLIB_HAL_PERSISTENT_STORAGE_SIZE)
+ 442 #define RADIOLIB_HAL_PERSISTENT_STORAGE_SIZE (0x60)
+
+
+
+
+ 447 #if (!defined(ARDUINO_ARCH_STM32) || !defined(SUBGHZSPI_BASE)) && !defined(DOXYGEN)
+ 448 #define RADIOLIB_EXCLUDE_STM32WLX
+
+
+ 451 #if defined(RADIOLIB_DEBUG)
+ 452 #if defined(RADIOLIB_BUILD_ARDUINO)
+ 453 #define RADIOLIB_DEBUG_PRINT(...) Module::serialPrintf(__VA_ARGS__)
+ 454 #define RADIOLIB_DEBUG_PRINTLN(M, ...) Module::serialPrintf(M "\n", ##__VA_ARGS__)
+
+ 456 #if !defined(RADIOLIB_DEBUG_PRINT)
+ 457 #define RADIOLIB_DEBUG_PRINT(...) fprintf(RADIOLIB_DEBUG_PORT, __VA_ARGS__)
+
+ 459 #if !defined(RADIOLIB_DEBUG_PRINTLN)
+ 460 #define RADIOLIB_DEBUG_PRINTLN(M, ...) fprintf(RADIOLIB_DEBUG_PORT, M "\n", ##__VA_ARGS__)
+
+
+ 463 #define RADIOLIB_DEBUG_HEXDUMP(...) Module::hexdump(__VA_ARGS__)
+
+ 465 #define RADIOLIB_DEBUG_PRINT(...) {}
+ 466 #define RADIOLIB_DEBUG_PRINTLN(...) {}
+ 467 #define RADIOLIB_DEBUG_HEXDUMP(...) {}
+
+
+ 470 #if defined(RADIOLIB_VERBOSE)
+ 471 #define RADIOLIB_VERBOSE_PRINT(...) RADIOLIB_DEBUG_PRINT(__VA_ARGS__)
+ 472 #define RADIOLIB_VERBOSE_PRINTLN(...) RADIOLIB_DEBUG_PRINTLN(__VA_ARGS__)
+
+ 474 #define RADIOLIB_VERBOSE_PRINT(...) {}
+ 475 #define RADIOLIB_VERBOSE_PRINTLN(...) {}
+
+
+ 481 #define RADIOLIB_ASSERT(STATEVAR) { if((STATEVAR) != RADIOLIB_ERR_NONE) { return(STATEVAR); } }
+
+ 486 #if defined(RADIOLIB_CHECK_PARAMS)
+ 487 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
+
+ 489 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) {}
+
+
+ 492 #if defined(RADIOLIB_FIX_ERRATA_SX127X)
+ 493 #define RADIOLIB_ERRATA_SX127X(...) { errataFix(__VA_ARGS__); }
+
+ 495 #define RADIOLIB_ERRATA_SX127X(...) {}
+
+
+
+ 499 #define RADIOLIB_MIN(a,b) ((a)<(b)?(a):(b))
+ 500 #define RADIOLIB_MAX(a,b) ((a)>(b)?(a):(b))
+ 501 #define RADIOLIB_ABS(x) ((x)>0?(x):-(x))
+
+
+ 504 #define RADIOLIB_VERSION_MAJOR (0x06)
+ 505 #define RADIOLIB_VERSION_MINOR (0x01)
+ 506 #define RADIOLIB_VERSION_PATCH (0x00)
+ 507 #define RADIOLIB_VERSION_EXTRA (0x00)
-
+ 509 #define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MINOR << 16) | (RADIOLIB_VERSION_PATCH << 8) | (RADIOLIB_VERSION_EXTRA))
+
+