Update hd44780-rpi.c, maybe fix rpi2
This commit is contained in:
@@ -164,7 +164,7 @@ check_board_rev(Driver *drvthis)
|
|||||||
/* On boards that have been overvolted, the MSB will be set */
|
/* On boards that have been overvolted, the MSB will be set */
|
||||||
rev &= 0x00ff;
|
rev &= 0x00ff;
|
||||||
if ((strcmp(hw, "BCM2708") != 0 && strcmp(hw, "BCM2709") != 0) || rev == 0) {
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user