Display running hw like GUI

This commit is contained in:
Joel16 2017-09-17 11:45:30 -05:00
parent d3f8b192f3
commit 25107b62e2
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ char * getVersion(int version)
if (version == 0)
return str_kernel;
else if(version == 1)
else if (version == 1)
return str_ver;
else
return str_sysver;

View File

@ -200,7 +200,7 @@ int main(int argc, char *argv[])
//-----------------------------System Info-----------------------------//
//=====================================================================//
printf("\x1b[31;1m*\x1b[0m Model: \x1b[31;1m%s\x1b[0m (\x1b[31;1m%s\x1b[0m) \n\x1b[0m", getModel(), getRegion());
printf("\x1b[31;1m*\x1b[0m Model: \x1b[31;1m%s\x1b[0m (\x1b[31;1m%s\x1b[0m - \x1b[31;1m%s\x1b[0m) \n\x1b[0m", getModel(), getRunningHW(), getRegion());
printf("\x1b[31;1m*\x1b[0m Screen type: \x1b[31;1m %s \n\x1b[0m", getScreenType());
printf("\x1b[31;1m*\x1b[0m Language: \x1b[31;1m%s\x1b[0m \n", getLang());