From 8961801595e699cf6440f7daaeb9f4e9e2b8db70 Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Thu, 16 May 2024 21:20:40 +0200 Subject: [PATCH] Update pi_fm_rds.cpp --- src/pifmrds/pi_fm_rds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pifmrds/pi_fm_rds.cpp b/src/pifmrds/pi_fm_rds.cpp index 9971f10..8bd816d 100644 --- a/src/pifmrds/pi_fm_rds.cpp +++ b/src/pifmrds/pi_fm_rds.cpp @@ -47,7 +47,6 @@ int tx(uint32_t carrier_freq, char *audio_file, uint16_t pi, char *ps, char *rt, sigaction(SIGINT, &sa, NULL); sigaction(SIGQUIT, &sa, NULL); sigaction(SIGKILL, &sa, NULL); - sigaction(SIGHUP, &sa, NULL); //https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html sigaction(SIGPWR, &sa, NULL); sigaction(SIGTSTP, &sa, NULL); sigaction(SIGSEGV, &sa, NULL); //seg fault @@ -79,6 +78,7 @@ int tx(uint32_t carrier_freq, char *audio_file, uint16_t pi, char *ps, char *rt, set_rds_tp(tp); set_rds_ta(ta); set_rds_di(DI_STEREO); + set_rds_ecc(0); uint16_t count = 0; uint16_t count2 = 0; if(log) {