̶s̶i̶g̶a̶c̶t̶i̶a̶l̶ sigma
This commit is contained in:
parent
67d2716b76
commit
c5d1a3e46e
|
|
@ -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(SIGQUIT, &sa, NULL);
|
||||||
sigaction(SIGKILL, &sa, NULL);
|
sigaction(SIGKILL, &sa, NULL);
|
||||||
sigaction(SIGHUP, &sa, NULL); //https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
|
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
|
//Set the power
|
||||||
pad_reg = (volatile uint32_t *)map_peripheral(PAD_VIRT_BASE, PAD_LEN);
|
pad_reg = (volatile uint32_t *)map_peripheral(PAD_VIRT_BASE, PAD_LEN);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue