Private
Public Access
2
0

arm: use raspberry pi platform

As it is the only currently supported ARM platform. It defaults to RPi

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-11-21 02:04:08 +00:00
parent ea38d8c397
commit 953d7af7e0

View File

@@ -25,12 +25,16 @@
#include <stdlib.h>
#include "mraa_internal.h"
#include "arm/raspberry_pi_b.h"
mraa_platform_t
mraa_arm_platform()
{
mraa_platform_t platform_type = MRAA_UNKNOWN_PLATFORM;
//For the Time being, Will always be Raspberry PI when running ARM
platform_type = MRAA_RASPBERRY_PI_B;
plat = mraa_raspberry_pi_b();
return platform_type;
}