aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtl_power.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl_power.c')
-rw-r--r--src/rtl_power.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtl_power.c b/src/rtl_power.c
index 6204de2..f78561f 100644
--- a/src/rtl_power.c
+++ b/src/rtl_power.c
@@ -130,7 +130,7 @@ void usage(void)
"\t[-e exit_timer (default: off/0)]\n"
//"\t[-s avg/iir smoothing (default: avg)]\n"
//"\t[-t threads (default: 1)]\n"
- "\t[-d device_index (default: 0)]\n"
+ "\t[-d device_index or serial (default: 0)]\n"
"\t[-g tuner_gain (default: automatic)]\n"
"\t[-p ppm_error (default: 0)]\n"
"\t[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]\n"
@@ -195,6 +195,7 @@ sighandler(int signum)
#else
static void sighandler(int signum)
{
+ signal(SIGPIPE, SIG_IGN);
do_exit++;
multi_bail();
}