Update pi_fm_rds.cpp

This commit is contained in:
Kuba 2024-05-16 21:20:40 +02:00 committed by GitHub
parent ad67d6d63c
commit 8961801595
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) {