Skip to content

Commit

Permalink
Add support for board name orangepicm5_tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
baiywt committed Oct 10, 2024
1 parent 337fc41 commit d7bb9d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wiringPi/wiringPi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2666,6 +2666,7 @@ void piBoardId (int * model)
else if (strncmp(revision, "orangepi900.", 12) == 0) { *model = PI_MODEL_900; }
else if (strncmp(revision, "orangepicm5.", 12) == 0) { *model = PI_MODEL_CM5; }
else if (strncmp(revision, "orangepicm5-tablet.", 19) == 0) { *model = PI_MODEL_CM5_TABLET; }
else if (strncmp(revision, "orangepicm5_tablet.", 19) == 0) { *model = PI_MODEL_CM5_TABLET; }
else if (strncmp(revision, "orangepicm4.", 12) == 0) { *model = PI_MODEL_CM4; }
else if (strncmp(revision, "orangepi3b.", 11) == 0) { *model = PI_MODEL_3B; }
else if (strncmp(revision, "orangepi3plus.", 14) == 0) { *model = PI_MODEL_3_PLUS; }
Expand Down

0 comments on commit d7bb9d9

Please sign in to comment.