mirror of
https://github.com/richardghirst/PiBits.git
synced 2025-02-26 19:54:16 +01:00
Update servod.c
Fix for "Cannot parse the hardware name string" issue.
This commit is contained in:
parent
ff1d383a37
commit
c1bd17bff0
@ -972,7 +972,7 @@ get_model_and_revision(void)
|
||||
|
||||
if (strstr(modelstr, "BCM2708"))
|
||||
board_model = 1;
|
||||
else if (strstr(modelstr, "BCM2709") || strstr(modelstr, "BCM2835"))
|
||||
else if (strstr(modelstr, "BCM2709") || strstr(modelstr, "BCM2835") || strstr(modelstr, "BCM2711"))
|
||||
board_model = 2;
|
||||
else
|
||||
fatal("servod: Cannot parse the hardware name string\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user