Update BuildOpt.h to set RADIOLIB_SPI_PARANOID to 1 by default

This commit is contained in:
Jonathan Bennett 2023-11-26 19:41:40 -06:00 committed by GitHub
parent 81c59f61ff
commit bbace3db41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,13 +358,13 @@
#endif
/*
* Uncomment to enable "paranoid" SPI mode
* Comment to disable "paranoid" SPI mode, or set RADIOLIB_SPI_PARANOID to 0
* Every write to an SPI register using SPI set function will be verified by a subsequent read operation.
* This improves reliability, but slightly slows down communication.
* Note: Enabled by default.
*/
#if !defined(RADIOLIB_SPI_PARANOID)
#define RADIOLIB_SPI_PARANOID
#define RADIOLIB_SPI_PARANOID 1
#endif
/*