Added interrupts disabling to the deinit function
Did not cause any issues, but it is better this way
This commit is contained in:
parent
61564e5fcf
commit
cb84a6c7ea
@ -15,7 +15,8 @@ static const struct fb {
|
|||||||
} *const fb = (struct fb *)0x23FFFE00;
|
} *const fb = (struct fb *)0x23FFFE00;
|
||||||
|
|
||||||
void __attribute__((naked)) shutdownLCD(void){
|
void __attribute__((naked)) shutdownLCD(void){
|
||||||
|
//Disable interrupts
|
||||||
|
__asm(".word 0xF10C01C0");
|
||||||
vu32 *const arm11 = (u32 *)0x1FFFFFF8;
|
vu32 *const arm11 = (u32 *)0x1FFFFFF8;
|
||||||
|
|
||||||
//Clear ARM11 entry offset
|
//Clear ARM11 entry offset
|
||||||
|
Reference in New Issue
Block a user