Fix stupid bug that caused RS92 to not work with last devel version

This commit is contained in:
Hansi, dl9rdz 2023-04-27 09:16:43 +00:00
parent 210010b4b1
commit 9ceb92210c
3 changed files with 6 additions and 5 deletions

View File

@ -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"

View File

@ -1,6 +1,7 @@
#include <U8x8lib.h>
#include <U8g2lib.h>
#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;

View File

@ -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;