From 6b466231332dc34d9f5e3940999fb6db3aa99a47 Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 12 Feb 2021 21:05:27 +0100 Subject: [PATCH] Reordered compile options --- src/BuildOpt.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/BuildOpt.h b/src/BuildOpt.h index c124e287..af7a1b70 100644 --- a/src/BuildOpt.h +++ b/src/BuildOpt.h @@ -371,6 +371,13 @@ #define RADIOLIB_VERBOSE_PRINTLN(...) {} #endif +/* + * Uncomment to enable "paranoid" SPI mode + * Every write to an SPI register using SPI set function will be verified by a subsequent read operation. + * This improves reliablility, but slightly slows down communication. + */ +#define RADIOLIB_SPI_PARANOID + /* * Uncomment to enable god mode - all methods and member variables in all classes will be made public, thus making them accessible from Arduino code. * Warning: Come on, it's called GOD mode - obviously only use this if you know what you're doing. @@ -390,13 +397,6 @@ //#define RADIOLIB_STATIC_ONLY -/* - * Uncomment to enable "paranoid" SPI mode - * Every write to an SPI register using SPI set function will be verified by a subsequent read operation. - * This improves reliablility, but slightly slows down communication. - */ -#define RADIOLIB_SPI_PARANOID - // set the size of static arrays to use #if !defined(RADIOLIB_STATIC_ARRAY_SIZE) #define RADIOLIB_STATIC_ARRAY_SIZE 256