Skip to content

Commit

Permalink
Minor adjustments before release
Browse files Browse the repository at this point in the history
Switch brightness with title count info.

Simply because brightness can have its values refresh whereas tiltle count cannot unless you exit the app.
  • Loading branch information
joel16 committed Jul 21, 2017
1 parent 6dd0316 commit 5efd947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int main(int argc, char *argv[])
//------------------------------MISC Info (continued)------------------//
//=====================================================================//

printf("\x1b[36;1m*\x1b[0m Brightness: \x1b[36;1m%s\x1b[0m \n", getBrightness(1));
printf("\x1b[36;1m*\x1b[0m Installed titles: SD: \x1b[36;1m%lu\x1b[0m (NAND: \x1b[36;1m%lu\x1b[0m)\n", titleCount(MEDIATYPE_SD), titleCount(MEDIATYPE_NAND));

ip = gethostid();
printf("\x1b[36;1m*\x1b[0m IP: \x1b[36;1m%lu.%lu.%lu.%lu\x1b[0m \n\n", ip & 0xFF, (ip>>8)&0xFF, (ip>>16)&0xFF, (ip>>24)&0xFF);
Expand Down Expand Up @@ -240,7 +240,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 Installed titles: SD: \x1b[36;1m%lu\x1b[0m (NAND: \x1b[36;1m%lu\x1b[0m)\n", titleCount(MEDIATYPE_SD), titleCount(MEDIATYPE_NAND));
printf("\x1b[36;1m*\x1b[0m Brightness: \x1b[36;1m%s\x1b[0m \n", getBrightness(1));

printf("\x1b[27;0H");
wifiPercent = (osGetWifiStrength() * 33.3333333333);
Expand Down

0 comments on commit 5efd947

Please sign in to comment.