Private
Public Access
2
0

raspberry_pi.c: add Revision a02082 to rpi detection

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-03-22 15:23:32 +00:00
parent d8024bb516
commit 8230d7cb45

View File

@@ -246,7 +246,7 @@ mraa_raspberry_pi()
b->platform_name = PLATFORM_NAME_RASPBERRY_PI_A_PLUS_REV_1;
platform_detected = PLATFORM_RASPBERRY_PI_A_PLUS_REV_1;
b->phy_pin_count = MRAA_RASPBERRY_PI_AB_PLUS_PINCOUNT;
} else if (strstr(line, "a01041") || strstr(line, "a21041")) {
} else if (strstr(line, "a01041") || strstr(line, "a21041") || strstr(line, "a02082")) {
b->platform_name = PLATFORM_NAME_RASPBERRY_PI2_B_REV_1;
platform_detected = PLATFORM_RASPBERRY_PI2_B_REV_1;
b->phy_pin_count = MRAA_RASPBERRY_PI2_B_REV_1_PINCOUNT;