mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
correct ddB
This commit is contained in:
parent
d9a846d199
commit
2194f8e03a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user