From 3450cb7c6e070005f9c5434c27101bca6624bb0b Mon Sep 17 00:00:00 2001 From: Mateusz Lubecki Date: Sun, 7 Jul 2019 21:17:23 +0200 Subject: [PATCH] max slew rate increased --- include/sr9wxg.config | 2 +- system/src/drivers/tx20.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sr9wxg.config b/include/sr9wxg.config index 9c0b361..b8951c3 100644 --- a/include/sr9wxg.config +++ b/include/sr9wxg.config @@ -49,7 +49,7 @@ #define _WIDE21_PATH // CALL-S>AKLPRZ,WIDE2-1:data // Comment this to disable beacon auto sending during startup (this can be risky if RF feedback occur) -#define _BCN_ON_STARTUP +//#define _BCN_ON_STARTUP #define _WX_INTERVAL 4 // WX packet interval in minutes #define _BCN_INTERVAL 15 // Own beacon interval in minutes diff --git a/system/src/drivers/tx20.c b/system/src/drivers/tx20.c index f1bd9b9..560a604 100644 --- a/system/src/drivers/tx20.c +++ b/system/src/drivers/tx20.c @@ -136,7 +136,7 @@ float TX20DataAverage(void) { if ( PM != MC && - abs((int32_t)(VNAME.HistoryAVG[PM].WindSpeed - VNAME.Data.WindSpeed)) > 6 + abs((int32_t)(VNAME.HistoryAVG[PM].WindSpeed - VNAME.Data.WindSpeed)) > 9 ) { rte_wx_tx20_excessive_slew_rate = 1;