From b841d6c75c88e12911f9ec9589ec237075d715ae Mon Sep 17 00:00:00 2001 From: Henry Bruce Date: Thu, 20 Aug 2015 11:59:07 -0700 Subject: [PATCH] common.hpp: Removed platform selection methods. Signed-off-by: Henry Bruce Signed-off-by: Brendan Le Foll --- api/mraa/common.hpp | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/api/mraa/common.hpp b/api/mraa/common.hpp index cf409ae..f9bcfae 100644 --- a/api/mraa/common.hpp +++ b/api/mraa/common.hpp @@ -227,40 +227,6 @@ hasSubPlatform() } -/** - * Select main platform for platform info calls. - * - * @return bool true if main platform is available, false otherwise - */ -inline bool -selectMainPlatform() -{ - return static_cast(mraa_select_main_platform()); -} - -/** - * Select sub platform for platform info calls. - * - * @return mraa_boolean_t true if sub platform is available, 0 otherwise - */ -inline bool -selectSubPlatform() -{ - return static_cast(mraa_select_sub_platform()); -} - - -/** - * Check if sub platform is currently available and selected for platform info calls. - * - * @return bool true if sub platform is selected, false otherwise - */ -inline bool -isSubPlatformSelected() -{ - return static_cast(mraa_is_sub_platform_selected()); -} - /** * Check if pin or bus id includes sub platform mask.