Added coaxswitch via GPIO0 (XDRGTK)

Optimised XDRGTK parsing
Fix problem where PS/PTY/PI sometimes turned blue on correct RDS when switching from Adv. RDS to normal screen
This commit is contained in:
Sjef Verhoeven PE5PVB
2024-02-12 23:17:46 +01:00
parent 388231a4b4
commit 2a3e8d7197
7 changed files with 34 additions and 20 deletions
+3 -1
View File
@@ -448,7 +448,7 @@ void readRds() {
void ShowErrors() {
uint8_t calc = 4;
if (RDSstatus) {
if (RDSstatus && !rdsreset) {
if (!radio.rds.rdsAerror) calc--;
if (!radio.rds.rdsBerror) calc--;
if (!radio.rds.rdsCerror) calc--;
@@ -457,6 +457,8 @@ void ShowErrors() {
SAvg3 = (((SAvg3 * 9) + 5) / 10) + calc;
calc = SAvg3 / 10;
}
rdsreset = false;
if (calc != rdsqualityold || BWreset) {
switch (calc) {