Update hd44780-rpi.c, maybe fix rpi2

This commit is contained in:
2016-11-02 12:42:30 +00:00
parent 71ca824756
commit 51a15c8622
+1 -1
View File
@@ -164,7 +164,7 @@ check_board_rev(Driver *drvthis)
/* On boards that have been overvolted, the MSB will be set */
rev &= 0x00ff;
if ((strcmp(hw, "BCM2708") != 0 && strcmp(hw, "BCM2709") != 0) || rev == 0) {
report(RPT_ERR, "check_board_rev: This board is not recognized as a Raspberry Pi!");
report(RPT_ERR, "check_board_rev: This board is not recognized as a Raspberry Pi! Found:%s",hw);
return NULL;
}