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);
|
str = dddvb_get_strength(fe);
|
||||||
cnr = dddvb_get_cnr(fe);
|
cnr = dddvb_get_cnr(fe);
|
||||||
|
|
||||||
printf("stat=%02x, str=%" PRId64 ".%03udBm, "
|
printf("stat=%02x, str=%" PRId64 ".%03u dBm, "
|
||||||
"snr=%" PRId64 ".%03uddB \n",
|
"snr=%" PRId64 ".%03u dB\n",
|
||||||
stat, str/1000, abs(str%1000),
|
stat, str/1000, abs(str%1000),
|
||||||
cnr/1000, abs(cnr%1000));
|
cnr/1000, abs(cnr%1000));
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user