From dfe2dda8e2538ed51cc847585506be83e762b590 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Thu, 1 Aug 2024 18:28:18 +0200 Subject: [PATCH] Improve ENABLE_FEAT_F4HWN_SPECTRUM --- app/spectrum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/spectrum.c b/app/spectrum.c index a305f8a..2066c99 100644 --- a/app/spectrum.c +++ b/app/spectrum.c @@ -786,7 +786,7 @@ static void DrawStatus() { } } -#ifndef ENABLE_FMRADIO +#ifdef ENABLE_FEAT_F4HWN_SPECTRUM static void ShowChannelName(uint32_t f) { unsigned int i; char s[12]; @@ -827,7 +827,7 @@ static void DrawF(uint32_t f) { sprintf(String, "%4sk", bwOptions[settings.listenBw]); GUI_DisplaySmallest(String, 108, 7, false, true); -#ifndef ENABLE_FMRADIO +#ifdef ENABLE_FEAT_F4HWN_SPECTRUM ShowChannelName(f); #endif }