From f31bef5303ba3b6de7b61f8f71057158f1066afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= <mordae@anilinux.org>
Date: Thu, 1 Feb 2024 00:52:53 +0100
Subject: [PATCH] Those are dBm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jan Hamal Dvořák <mordae@anilinux.org>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 1c9354e..50c3b78 100644
--- a/src/main.c
+++ b/src/main.c
@@ -752,7 +752,7 @@ static void command(const char *cmd)
 
 			float rssi_rel = st.rssi_raw / st.rssi_max;
 
-			printf("%5.1f dB (%5.0f) [%5u %+7i] %+5.1f ", 10.0f * log10f(rssi_rel),
+			printf("%5.1f dBm (%5.0f) [%5u %+7i] %+5.1f ", 10.0f * log10f(rssi_rel),
 			       sqrtf(st.rssi_raw), st.sample_rate,
 			       (abs(st.frequency) > (int)(st.sample_rate / 2)) ? 0 : st.frequency,
 			       180.0f * st.angle / (float)INT_MAX);