Skip to content

Commit

Permalink
Update cpuinfo.c
Browse files Browse the repository at this point in the history
  • Loading branch information
PingTrip committed Jan 29, 2016
1 parent 7cf1fdd commit 8737759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cpuinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ char *get_cpuinfo_revision(char *revision)
while(!feof(fp)) {
fgets(buffer, sizeof(buffer) , fp);
sscanf(buffer, "Hardware : %[^\n]", hardware);
if (strcmp(hardware, "sun7i") >= 0 ) {
if (strcmp(hardware, "sun7i") <= 0 ) {
f_a20=1;
rpi_found = 1;
//printf("BAPI: Banana Pi!!\n");
Expand Down

0 comments on commit 8737759

Please sign in to comment.