diff --git a/k11_extension/source/globals.c b/k11_extension/source/globals.c index 995cff5..c6e2947 100644 --- a/k11_extension/source/globals.c +++ b/k11_extension/source/globals.c @@ -102,7 +102,6 @@ u32 nbSection0Modules; Result (*InterruptManager__MapInterrupt)(InterruptManager *manager, KBaseInterruptEvent *iEvent, u32 interruptID, u32 coreID, u32 priority, bool disableUponReceipt, bool levelHighActive); InterruptManager *interruptManager; -KBaseInterruptEvent *customInterruptEvent; void (*initFPU)(void); void (*mcuReboot)(void); diff --git a/k11_extension/source/utils.s b/k11_extension/source/utils.s index f5ef9a1..bb1f705 100644 --- a/k11_extension/source/utils.s +++ b/k11_extension/source/utils.s @@ -121,12 +121,14 @@ _safecpy_end: .section .rodata.safecpy_sz, "a", %progbits .global safecpy_sz +.type safecpy_sz, %object safecpy_sz: .word _safecpy_end - safecpy .section .bss.SGI0Handler, "aw", %nobits .balign 4 .global SGI0Handler +.type safecpy_sz, %object SGI0Handler: .skip 4 @ see synchronization.c .balign 4 @@ -136,4 +138,5 @@ SGI0Handler: .skip 4 @ see synchronization.c _customInterruptEventObj: .word SGI0Handler .global customInterruptEvent +.type safecpy_sz, %object customInterruptEvent: .word _customInterruptEventObj diff --git a/sysmodules/rosalina/include/menus/screen_filters.h b/sysmodules/rosalina/include/menus/screen_filters.h index 0453a84..3ba6d09 100644 --- a/sysmodules/rosalina/include/menus/screen_filters.h +++ b/sysmodules/rosalina/include/menus/screen_filters.h @@ -30,7 +30,7 @@ extern Menu screenFiltersMenu; -int screenFiltersCurrentTemperature; +extern int screenFiltersCurrentTemperature; void screenFiltersSetDisabled(void); void screenFiltersReduceBlueLevel1(void);