From 56a10c78a697ef8e2b0c4ed14a77d4132e80a0fe Mon Sep 17 00:00:00 2001 From: Atten Date: Wed, 13 Apr 2022 11:43:12 +0700 Subject: [PATCH] Edit bug send to aprsc --- include/main.h | 2 +- src/igate.cpp | 1 + src/main.cpp | 2 +- src/webservice.cpp | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/main.h b/include/main.h index d655b1e..dab29fe 100644 --- a/include/main.h +++ b/include/main.h @@ -10,7 +10,7 @@ #ifndef MAIN_H #define MAIN_H -#define VERSION "0.6" +#define VERSION "0.6a" #define DEBUG //#define DEBUG_IS diff --git a/src/igate.cpp b/src/igate.cpp index 3970a76..28561e2 100644 --- a/src/igate.cpp +++ b/src/igate.cpp @@ -61,5 +61,6 @@ int igateProcess(AX25Msg &Packet) header += String(F(":")); aprsClient.print(header); aprsClient.write(&Packet.info[0], Packet.len); // info binary write aprsc support + aprsClient.println(); return 1; } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 5f963c9..5ede3cf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -454,7 +454,7 @@ void SA818_INIT(bool boot) if (config.sql_level > 8) config.sql_level = 8; #ifdef SR_FRS - sprintf(str, "AT+DMOSETGROUP=%01d,%0.4f,%0.4f,%d,%01d,%d,4", config.band, config.freq_tx + ((float)config.offset_tx / 1000000), config.freq_rx + ((float)config.offset_rx / 1000000), config.tone_rx, config.sql_level, config.tone_tx); + sprintf(str, "AT+DMOSETGROUP=%01d,%0.4f,%0.4f,%d,%01d,%d,0", config.band, config.freq_tx + ((float)config.offset_tx / 1000000), config.freq_rx + ((float)config.offset_rx / 1000000), config.tone_rx, config.sql_level, config.tone_tx); SerialRF.println(str); delay(500); // Module auto power save setting diff --git a/src/webservice.cpp b/src/webservice.cpp index 9d009b9..a83ef17 100644 --- a/src/webservice.cpp +++ b/src/webservice.cpp @@ -590,7 +590,7 @@ void handle_setting() webString += "\n"; webString += "
\n"; - webString += "\n"; + webString += "\n"; webString += "
\n"; webString += "
\n";