From 1379c1fe331a643fb070c0c9327cc270abe7ee46 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Thu, 4 May 2017 11:10:08 -0700 Subject: [PATCH] types.hpp: Added Platform type for PIO MRAA C++ getPlatformType casts the return from mraa_get_platform_type() to a Platform enum (which did not exist in C++ for AT). Added enum type to types.hpp which corresponds to the C enum type. Signed-off-by: Noel Eck --- api/mraa/types.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/api/mraa/types.hpp b/api/mraa/types.hpp index 81f35d7..a527df0 100644 --- a/api/mraa/types.hpp +++ b/api/mraa/types.hpp @@ -59,6 +59,7 @@ typedef enum { GENERIC_FIRMATA = 1280, /**< Firmata uart platform/bridge */ + ANDROID_PERIPHERALMANAGER = 95, /**< Android Things peripheral manager platform */ NULL_PLATFORM = 98, UNKNOWN_PLATFORM = 99 /**< An unknown platform type, typically will load INTEL_GALILEO_GEN1 */