From 9ceb92210c719f3304a269c5e5ce61e7b03de723 Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Thu, 27 Apr 2023 09:16:43 +0000 Subject: [PATCH] Fix stupid bug that caused RS92 to not work with last devel version --- RX_FSK/RX_FSK.ino | 2 +- RX_FSK/src/Sonde.cpp | 7 ++++--- RX_FSK/version.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index f377477..f0904cc 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -19,7 +19,7 @@ #include "src/Display.h" #include "src/Scanner.h" #include "src/geteph.h" -#ifdef FEATURE_RS92 +#if FEATURE_RS92 #include "src/rs92gps.h" #endif #include "src/aprs.h" diff --git a/RX_FSK/src/Sonde.cpp b/RX_FSK/src/Sonde.cpp index b0616dc..4f80c81 100644 --- a/RX_FSK/src/Sonde.cpp +++ b/RX_FSK/src/Sonde.cpp @@ -1,6 +1,7 @@ #include #include +#include "../feature.h" #include "Sonde.h" #include "RS41.h" #if FEATURE_RS92 @@ -433,7 +434,7 @@ void Sonde::setup() { dfm.setup( sondeList[rxtask.currentSonde].freq * 1000000, sondeList[rxtask.currentSonde].type ); break; case STYPE_RS92: -#ifdef FEATURE_RS92 +#if FEATURE_RS92 rs92.setup( sondeList[rxtask.currentSonde].freq * 1000000); #endif break; @@ -466,7 +467,7 @@ void Sonde::receive() { res = rs41.receive(); break; case STYPE_RS92: -#ifdef FEATURE_RS92 +#if FEATURE_RS92 res = rs92.receive(); #endif break; @@ -568,7 +569,7 @@ rxloop: rs41.waitRXcomplete(); break; case STYPE_RS92: -#ifdef FEATURE_RS92 +#if FEATURE_RS92 rs92.waitRXcomplete(); #endif break; diff --git a/RX_FSK/version.h b/RX_FSK/version.h index 2a75e38..947c6cd 100644 --- a/RX_FSK/version.h +++ b/RX_FSK/version.h @@ -1,4 +1,4 @@ const char *version_name = "rdzTTGOsonde"; -const char *version_id = "devel20230413"; +const char *version_id = "devel20230427"; const int SPIFFS_MAJOR=2; const int SPIFFS_MINOR=17;