1
0
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:
Joey232 2020-12-21 13:40:48 -05:00 committed by GitHub
parent ff1d383a37
commit c1bd17bff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");