From 911200d0a04eec33c6746a1a1d513cad473ff248 Mon Sep 17 00:00:00 2001 From: John Flinchbaugh Date: Wed, 8 Jan 2025 08:04:07 -0500 Subject: [PATCH] unneeded parens --- app/spectrum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/spectrum.c b/app/spectrum.c index bc20851..79bab35 100644 --- a/app/spectrum.c +++ b/app/spectrum.c @@ -871,7 +871,7 @@ uint8_t Rssi2Y(uint16_t rssi) static void DrawSpectrum() { uint16_t steps = GetStepsCount(); - uint16_t scale = ((steps > 128) ? 128 : steps); + uint16_t scale = (steps > 128) ? 128 : steps; uint16_t shift = 64 / steps + 1; uint8_t ox = 0; for (uint8_t i = 0; i < 128; ++i)