From 8230d7cb4575748d2957d65a09163d92e6d626ff Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 22 Mar 2016 15:23:32 +0000 Subject: [PATCH] raspberry_pi.c: add Revision a02082 to rpi detection Signed-off-by: Brendan Le Foll --- src/arm/raspberry_pi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arm/raspberry_pi.c b/src/arm/raspberry_pi.c index ad8b6ed..50a7268 100644 --- a/src/arm/raspberry_pi.c +++ b/src/arm/raspberry_pi.c @@ -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;