Fix changing the brightness
Needs to be static for some reason
This commit is contained in:
parent
8d1befea9e
commit
8175642a2a
@ -84,7 +84,9 @@ void deinitScreens(void)
|
|||||||
|
|
||||||
void updateBrightness(u32 brightnessIndex)
|
void updateBrightness(u32 brightnessIndex)
|
||||||
{
|
{
|
||||||
u32 brightnessLevel = brightness[brightnessIndex];
|
static u32 brightnessLevel;
|
||||||
|
|
||||||
|
brightnessLevel = brightness[brightnessIndex];
|
||||||
|
|
||||||
void __attribute__((naked)) ARM11(void)
|
void __attribute__((naked)) ARM11(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user