From 2a822f5bceb702eeec12461116ef78014324a0f5 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Fri, 9 Sep 2022 09:58:17 +0200 Subject: [PATCH] Renamed the payload type + few minor changes --- src/app/definition.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/definition.h b/src/app/definition.h index d786510..3fa199d 100644 --- a/src/app/definition.h +++ b/src/app/definition.h @@ -19,9 +19,9 @@ #define VOLTAGE_DIV_COEFF 1.3125 //(R1 + R2)/R2 //NRF Radio config part -#define RADIO_CHANNEL 108 +#define RADIO_CHANNEL 108 //0-125 #define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1 -#define RADIO_PA_LEVEL RF24_PA_LOW //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX +#define RADIO_PA_LEVEL RF24_PA_HIGH //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX #define ENABLE_LNA false //true or false #define RADIO_DATARATE RF24_250KBPS @@ -58,6 +58,6 @@ typedef struct float humidity; float compensatedHumidity; float htuTemp; -} DataPacket __attribute__((__packed__)); +} __attribute__((__packed__)) WeatherStationDataPacket; #endif //DEFINITION_H