api: Added mraa_has_sub_platform() function
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
453eefc56a
commit
33645791af
@@ -260,6 +260,13 @@ mraa_result_print(mraa_result_t result)
|
||||
}
|
||||
|
||||
|
||||
mraa_boolean_t
|
||||
mraa_has_sub_platform()
|
||||
{
|
||||
return (plat != NULL) && (plat->sub_platform != NULL);
|
||||
}
|
||||
|
||||
|
||||
mraa_boolean_t
|
||||
mraa_select_main_platform()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user