From c5d1a3e46eb0a1e5005cd6a53f9b5cac8e41fc27 Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:03:11 +0000 Subject: [PATCH] =?UTF-8?q?=20=CC=B6s=CC=B6i=CC=B6g=CC=B6a=CC=B6c=CC=B6t?= =?UTF-8?q?=CC=B6i=CC=B6a=CC=B6l=CC=B6=20sigma?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pifmrds/pi_fm_rds.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pifmrds/pi_fm_rds.cpp b/src/pifmrds/pi_fm_rds.cpp index 43d062d..bbe52aa 100644 --- a/src/pifmrds/pi_fm_rds.cpp +++ b/src/pifmrds/pi_fm_rds.cpp @@ -99,6 +99,8 @@ int tx(uint32_t carrier_freq, char *audio_file, uint16_t pi, char *ps, char *rt, 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); //Set the power pad_reg = (volatile uint32_t *)map_peripheral(PAD_VIRT_BASE, PAD_LEN);