raspberry_pi.c: Wrong pin number used for Raspberry Pi in default case
authorMichael Ring <michael.ring@swisscom.com>
Sat, 21 Feb 2015 11:31:48 +0000 (12:31 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Sun, 1 Mar 2015 10:30:00 +0000 (10:30 +0000)
Signed-off-by: Michael Ring <mail@michael-ring.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/arm/raspberry_pi.c

index 293d460..6569494 100644 (file)
@@ -259,7 +259,7 @@ mraa_raspberry_pi() {
                 }
                 else {
                     b->platform_name = PLATFORM_NAME_RASPBERRY_PI_B_REV_1;
-                    platform_detected = PLATFORM_RASPBERRY_PI_B_PLUS_REV_1;
+                    platform_detected = PLATFORM_RASPBERRY_PI_B_REV_1;
                     b->phy_pin_count = MRAA_RASPBERRY_PI_B_REV_1_PINCOUNT;
                 }
             }