Skip to content

Commit

Permalink
Update raspberry_pi.c
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj committed Mar 15, 2022
1 parent 4503fe7 commit f6dfad6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/arm/raspberry_pi.c
Expand Up @@ -507,10 +507,12 @@ mraa_raspberry_pi()
peripheral_base = BCM2837_PERI_BASE;
block_size = BCM2837_BLOCK_SIZE;
} else if (strstr(line, "a03111") ||
strstr(line, "a03112") || strstr(line, "a03115") ||
strstr(line, "b03111") || strstr(line, "b03112") ||
strstr(line, "b03114") || strstr(line, "c03111") ||
strstr(line, "c03112") || strstr(line, "c03114") ||
strstr(line, "d03114")) {
strstr(line, "b03114") || strstr(line, "b03115") ||
strstr(line, "c03111") || strstr(line, "c03112") ||
strstr(line, "c03114") || strstr(line, "c03115") ||
strstr(line, "d03114") || strstr(line, "d03115")) {
b->platform_name = PLATFORM_NAME_RASPBERRY_PI4_B;
platform_detected = PLATFORM_RASPBERRY_PI4_B;
b->phy_pin_count = MRAA_RASPBERRY_PI4_B_PINCOUNT;
Expand Down

0 comments on commit f6dfad6

Please sign in to comment.