mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
set output of tuning information to stderr when ddzap write dvr device to stdout
This commit is contained in:
parent
e9f2f5788c
commit
e4b1c1a077
@ -244,7 +244,7 @@ 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=%lld.%03llddB, snr=%lld.%03llddB \n",
|
fprintf(stderr,"stat=%02x, str=%lld.%03llddB, snr=%lld.%03llddB \n",
|
||||||
stat, str/1000, abs(str%1000), cnr/1000, abs(cnr%1000));
|
stat, str/1000, abs(str%1000), cnr/1000, abs(cnr%1000));
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user