From ee43fe328f9ed66b68b266a361725f2036a24faf Mon Sep 17 00:00:00 2001 From: d0k3 Date: Sun, 21 Feb 2021 14:35:13 +0100 Subject: [PATCH] Fix a compiler warning --- arm11/source/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm11/source/main.c b/arm11/source/main.c index 95238ed6e..60a23f70e 100644 --- a/arm11/source/main.c +++ b/arm11/source/main.c @@ -187,9 +187,9 @@ void __attribute__((noreturn)) MainLoop(void) // sets the LCDs brightness (if FIXED_BRIGHTNESS is disabled) case PXICMD_SET_BRIGHTNESS: { - s32 newbrightness = (s32)args[0]; pxiReply = GFX_getBrightness(); #ifndef FIXED_BRIGHTNESS + s32 newbrightness = (s32)args[0]; if ((newbrightness > 0) && (newbrightness < 0x100)) { GFX_setBrightness(newbrightness, newbrightness); auto_brightness = false;