Fix reference error
This commit is contained in:
+2
-2
@@ -2841,7 +2841,7 @@ void ShowSignalLevel() {
|
|||||||
if (screenmute == false) {
|
if (screenmute == false) {
|
||||||
if (band == BAND_FM) SNR = int(0.46222375 * (float)(SStatus / 10) - 0.082495118 * (float)(USN / 10)) + 10; else SNR = -((int8_t)(USN / 10));
|
if (band == BAND_FM) SNR = int(0.46222375 * (float)(SStatus / 10) - 0.082495118 * (float)(USN / 10)) + 10; else SNR = -((int8_t)(USN / 10));
|
||||||
|
|
||||||
if (millis() >= snrupdatetimer + TIMER_500_TICK) {
|
if (millis() >= snrupdatetimer + TIMER_SNR_TIMER) {
|
||||||
snrupdatetimer = millis();
|
snrupdatetimer = millis();
|
||||||
|
|
||||||
if (SNR > (SNRold + 1) || SNR < (SNRold - 1)) {
|
if (SNR > (SNRold + 1) || SNR < (SNRold - 1)) {
|
||||||
@@ -3170,7 +3170,7 @@ void doSquelch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void updateBW() {
|
void updateBW() {
|
||||||
if (millis() >= bwupdatetimer + TIMER_500_TICK) {
|
if (millis() >= bwupdatetimer + TIMER_BW_TIMER) {
|
||||||
bwupdatetimer = millis();
|
bwupdatetimer = millis();
|
||||||
|
|
||||||
tft.setFreeFont(FONT7);
|
tft.setFreeFont(FONT7);
|
||||||
|
|||||||
Reference in New Issue
Block a user