̶s̶i̶g̶a̶c̶t̶i̶a̶l̶ sigma

This commit is contained in:
Kuba 2023-11-02 20:03:11 +00:00
parent 67d2716b76
commit c5d1a3e46e
1 changed files with 2 additions and 0 deletions

View File

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