From 2194f8e03aad6e7cc628c34d2caada100d16b5fb Mon Sep 17 00:00:00 2001 From: rjkm Date: Sat, 12 Feb 2022 15:37:04 +0100 Subject: [PATCH] correct ddB --- lib/ddzap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ddzap.c b/lib/ddzap.c index 573b563..1d5b303 100644 --- a/lib/ddzap.c +++ b/lib/ddzap.c @@ -512,8 +512,8 @@ int main(int argc, char **argv) str = dddvb_get_strength(fe); cnr = dddvb_get_cnr(fe); - printf("stat=%02x, str=%" PRId64 ".%03udBm, " - "snr=%" PRId64 ".%03uddB \n", + printf("stat=%02x, str=%" PRId64 ".%03u dBm, " + "snr=%" PRId64 ".%03u dB\n", stat, str/1000, abs(str%1000), cnr/1000, abs(cnr%1000)); sleep(1);