Fix changing the brightness

Needs to be static for some reason
This commit is contained in:
Aurora 2016-07-18 21:52:03 +02:00
parent 8d1befea9e
commit 8175642a2a

View File

@ -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)
{ {