Updates
This commit is contained in:
parent
0c4ede7fea
commit
6bb99d67a9
|
|
@ -146,4 +146,4 @@ int close_control_pipe() {
|
|||
if(f_ctl) fclose(f_ctl);
|
||||
if(fd) return close(fd);
|
||||
else return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ static void
|
|||
terminate(int num)
|
||||
{
|
||||
delete fmmod;
|
||||
pad_reg[GPIO_PAD_0_27] = 0x5a000018 + 7; //Set original power, just in case
|
||||
pad_reg[GPIO_PAD_28_45] = 0x5a000018 + 7;
|
||||
pad_reg[GPIO_PAD_0_27] = 0x5a000018 + 1; //Set original power, just in case
|
||||
pad_reg[GPIO_PAD_28_45] = 0x5a000018 + 1;
|
||||
fm_mpx_close();
|
||||
close_control_pipe();
|
||||
exit(num);
|
||||
|
|
|
|||
Loading…
Reference in New Issue