From dd81c4af214a57639ae2bea731b87e798bd57430 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Thu, 12 Oct 2023 12:15:17 +0200 Subject: [PATCH] Added Fast PS When enabled: When tuning to a new station PS is shown immediately. After two complete PS cycles normal PS detection is activated. This can cause incompete or faulty PS direct after tuning, which will recover. Disabled: After two complete PS cycles the PS is shown. This can take some longer time to show PS but will prevent errors as much as possible. In previous builds fast PS was already enabled, but can now be disabled if wanted. Also a small fix: when RDS is lost and level drops below low level threshold, the textcolor was not changed. --- TEF6686_ESP32.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 85bf2e5..f907ccb 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -802,6 +802,7 @@ void loop() { LowLevelInit = false; } + if (screenmute || radio.rds.correctPI != 0) readRds(); if (millis() >= lowsignaltimer + 300) { lowsignaltimer = millis(); if (af || (!screenmute || (screenmute && (XDRGTKTCP || XDRGTKUSB)))) { @@ -811,7 +812,6 @@ void loop() { radio.getStatusAM(SStatus, USN, WAM, OStatus, BW, MStatus, CN); } } - if (screenmute || radio.rds.correctPI != 0) readRds(); if (!menu) { doSquelch(); GetData();