diff --git a/_build_opt_8h_source.html b/_build_opt_8h_source.html index 8bb2a6e2..2f3d64d9 100644 --- a/_build_opt_8h_source.html +++ b/_build_opt_8h_source.html @@ -499,52 +499,66 @@ $(document).ready(function(){initNavTree('_build_opt_8h_source.html',''); initRe
411 #define RADIOLIB_CHECK_PARAMS
412 
413 /*
-
414  * Uncomment to enable god mode - all methods and member variables in all classes will be made public, thus making them accessible from Arduino code.
-
415  * Warning: Come on, it's called GOD mode - obviously only use this if you know what you're doing.
-
416  * Failure to heed the above warning may result in bricked module.
-
417  */
-
418 //#define RADIOLIB_GODMODE
-
419 
-
420 /*
-
421  * Uncomment to enable low-level hardware access
-
422  * This will make some hardware methods like SPI get/set accessible from the user sketch - think of it as "god mode lite"
-
423  * Warning: RadioLib won't stop you from writing invalid stuff into your device, so it's quite easy to brick your module with this.
-
424  */
-
425 //#define RADIOLIB_LOW_LEVEL
+
414  * Uncomment to enable SX127x errata fix
+
415  * Warning: SX127x errata fix has been reported to cause issues with LoRa bandwidths lower than 62.5 kHz.
+
416  * It should only be enabled if you really are observing some errata-related issue.
+
417  * Note: Disabled by default.
+
418  */
+
419 //#define RADIOLIB_FIX_ERRATA_SX127X
+
420 
+
421 #if defined(RADIOLIB_FIX_ERRATA_SX127X)
+
422  #define RADIOLIB_ERRATA_SX127X(...) { errataFix(__VA_ARGS__); }
+
423 #else
+
424  #define RADIOLIB_ERRATA_SX127X(...) {}
+
425 #endif
426 
427 /*
-
428  * Uncomment to enable pre-defined modules when using RadioShield.
-
429  */
-
430 //#define RADIOLIB_RADIOSHIELD
-
431 
-
432 /*
-
433  * Uncomment to enable static-only memory management: no dynamic allocation will be performed.
-
434  * Warning: Large static arrays will be created in some methods. It is not advised to send large packets in this mode.
-
435  */
-
436 //#define RADIOLIB_STATIC_ONLY
-
437 
-
438 // set the size of static arrays to use
-
439 #if !defined(RADIOLIB_STATIC_ARRAY_SIZE)
-
440 #define RADIOLIB_STATIC_ARRAY_SIZE 256
-
441 #endif
-
442 
-
446 #define RADIOLIB_ASSERT(STATEVAR) { if((STATEVAR) != ERR_NONE) { return(STATEVAR); } }
-
447 
-
451 #if defined(RADIOLIB_CHECK_PARAMS)
-
452 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
-
453 #else
-
454 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) {}
+
428  * Uncomment to enable god mode - all methods and member variables in all classes will be made public, thus making them accessible from Arduino code.
+
429  * Warning: Come on, it's called GOD mode - obviously only use this if you know what you're doing.
+
430  * Failure to heed the above warning may result in bricked module.
+
431  */
+
432 //#define RADIOLIB_GODMODE
+
433 
+
434 /*
+
435  * Uncomment to enable low-level hardware access
+
436  * This will make some hardware methods like SPI get/set accessible from the user sketch - think of it as "god mode lite"
+
437  * Warning: RadioLib won't stop you from writing invalid stuff into your device, so it's quite easy to brick your module with this.
+
438  */
+
439 //#define RADIOLIB_LOW_LEVEL
+
440 
+
441 /*
+
442  * Uncomment to enable pre-defined modules when using RadioShield.
+
443  */
+
444 //#define RADIOLIB_RADIOSHIELD
+
445 
+
446 /*
+
447  * Uncomment to enable static-only memory management: no dynamic allocation will be performed.
+
448  * Warning: Large static arrays will be created in some methods. It is not advised to send large packets in this mode.
+
449  */
+
450 //#define RADIOLIB_STATIC_ONLY
+
451 
+
452 // set the size of static arrays to use
+
453 #if !defined(RADIOLIB_STATIC_ARRAY_SIZE)
+
454 #define RADIOLIB_STATIC_ARRAY_SIZE 256
455 #endif
456 
-
457 // version definitions
-
458 #define RADIOLIB_VERSION_MAJOR (0x04)
-
459 #define RADIOLIB_VERSION_MINOR (0x05)
-
460 #define RADIOLIB_VERSION_PATCH (0x00)
-
461 #define RADIOLIB_VERSION_EXTRA (0x00)
-
462 
-
463 #define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MINOR << 16) | (RADIOLIB_VERSION_PATCH << 8) | (RADIOLIB_VERSION_EXTRA))
-
464 
-
465 #endif
+
460 #define RADIOLIB_ASSERT(STATEVAR) { if((STATEVAR) != ERR_NONE) { return(STATEVAR); } }
+
461 
+
465 #if defined(RADIOLIB_CHECK_PARAMS)
+
466 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) { if(!(((VAR) >= (MIN)) && ((VAR) <= (MAX)))) { return(ERR); } }
+
467 #else
+
468 #define RADIOLIB_CHECK_RANGE(VAR, MIN, MAX, ERR) {}
+
469 #endif
+
470 
+
471 // version definitions
+
472 #define RADIOLIB_VERSION_MAJOR (0x04)
+
473 #define RADIOLIB_VERSION_MINOR (0x05)
+
474 #define RADIOLIB_VERSION_PATCH (0x00)
+
475 #define RADIOLIB_VERSION_EXTRA (0x00)
+
476 
+
477 #define RADIOLIB_VERSION ((RADIOLIB_VERSION_MAJOR << 24) | (RADIOLIB_VERSION_MINOR << 16) | (RADIOLIB_VERSION_PATCH << 8) | (RADIOLIB_VERSION_EXTRA))
+
478 
+
479 #endif