From 7a2419a34d9245feb2e457545548e2c5fffa4de6 Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 17 Aug 2016 21:44:46 +0530 Subject: [PATCH] Display NAND and SDMC CID (like actually this time) --- source/main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/main.c b/source/main.c index b44dd32..5ff888e 100644 --- a/source/main.c +++ b/source/main.c @@ -147,7 +147,7 @@ int main(int argc, char *argv[]) printf("\x1b[31m*\x1b[0m Language: %s\n", getLang()); printf("\x1b[31m*\x1b[0m MAC Address: %s\n", getMacAddress()); - /*u8 buf[16]; + u8 buf[16]; FSUSER_GetSdmcCid(buf, 0x10); printf("\x1b[31m*\x1b[0m SDMC CID: %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X\n", @@ -159,10 +159,7 @@ int main(int argc, char *argv[]) printf("\x1b[31m*\x1b[0m NAND CID: %02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X\n\n", buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6], buf[7], buf[8], buf[9], buf[10], buf[11], - buf[12], buf[13], buf[14], buf[15]);*/ - - printf("\x1b[31m*\x1b[0m SDMC CID: 12345678910111213141516\n"); - printf("\x1b[31m*\x1b[0m NAND CID: 12345678910111213141516\n\n"); + buf[12], buf[13], buf[14], buf[15]); u8 batteryPercent; PTMU_GetBatteryLevel(&batteryPercent);