mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-26 21:10:24 +00:00
Display brightness value instead of percentage
This commit is contained in:
parent
a8e4e2e801
commit
a275861c64
@ -44,7 +44,7 @@ char * getBrightness(u32 screen)
|
||||
gspLcdExit();
|
||||
}
|
||||
|
||||
snprintf(level, 5, "%d%%", (int)brightness);
|
||||
snprintf(level, 4, "%d", (int)brightness);
|
||||
|
||||
return level;
|
||||
}
|
@ -250,7 +250,7 @@ int main(int argc, char *argv[])
|
||||
printf("\x1b[36;1m*\x1b[0m CTR Size: \x1b[36;1m%s\x1b[0m / \x1b[36;1m%s\x1b[0m \n", ctrFreeSize, ctrTotalSize);
|
||||
|
||||
printf("\x1b[26;0H");
|
||||
printf("\x1b[36;1m*\x1b[0m Brightness: \x1b[36;1m%s\x1b[0m \n", getBrightness(1));
|
||||
printf("\x1b[36;1m*\x1b[0m Brightness level: \x1b[36;1m%s\x1b[0m \n", getBrightness(1));
|
||||
|
||||
printf("\x1b[27;0H");
|
||||
wifiPercent = (osGetWifiStrength() * 33.3333333333);
|
||||
|
Loading…
Reference in New Issue
Block a user