1
0
mirror of https://github.com/richardghirst/PiBits.git synced 2024-11-28 12:24:11 +01:00

Quick hack for Pi-Zero.

This commit is contained in:
Richard Hirst 2017-08-23 20:44:16 +00:00
parent 96014c804d
commit 025715a605

View File

@ -959,6 +959,8 @@ get_model_and_revision(void)
board_model = 1;
else if (strstr(modelstr, "BCM2709"))
board_model = 2;
else if (strstr(modelstr, "BCM2835")) /* Quick hack for Pi-Zero */
board_model = 1;
else
fatal("servod: Cannot parse the hardware name string\n");