From 87377593c9e63c677ed7d9c52eb828508540ec60 Mon Sep 17 00:00:00 2001 From: Dave Crawford Date: Fri, 29 Jan 2016 14:44:58 -0500 Subject: [PATCH] Update cpuinfo.c --- source/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cpuinfo.c b/source/cpuinfo.c index d89b6c5..7603950 100644 --- a/source/cpuinfo.c +++ b/source/cpuinfo.c @@ -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");