From 2c10a560bc97f715fa558088b0a2524494cf1ead Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Sun, 6 Jun 2021 18:05:32 +0200 Subject: [PATCH] Disabled the serial, output, reduced the transmit power and set the sleep duration back to 1 min --- src/tests/definition.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/definition.h b/src/tests/definition.h index ea39e0a..d84e336 100644 --- a/src/tests/definition.h +++ b/src/tests/definition.h @@ -11,7 +11,7 @@ #include "packet_format.h" //Serial debug config part -#define SERIAL_DEBUG_ENABLED 1 +#define SERIAL_DEBUG_ENABLED 0 #define SERIAL_BAUD_RATE 115200 //Battery config part @@ -21,11 +21,11 @@ //NRF Radio config part #define RADIO_CHANNEL 108 #define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1 -#define RADIO_PA_LEVEL RF24_PA_MAX +#define RADIO_PA_LEVEL RF24_PA_LOW #define RADIO_DATARATE RF24_250KBPS //Sleep config part : in 4 second increments ie : 1 corresponds to 4s of sleep, and 15 correponds to 60 seconds of sleep. -#define SLEEP_4_SEC_INTERVAL 1//15 +#define SLEEP_4_SEC_INTERVAL 15 //Pin config part typedef enum