raspberry_pi.c: Wrong pin number used for Raspberry Pi in default case
Signed-off-by: Michael Ring <mail@michael-ring.org> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
76ffa35cec
commit
2c74ba72a7
@@ -259,7 +259,7 @@ mraa_raspberry_pi() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
b->platform_name = PLATFORM_NAME_RASPBERRY_PI_B_REV_1;
|
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;
|
b->phy_pin_count = MRAA_RASPBERRY_PI_B_REV_1_PINCOUNT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user