Private
Public Access
2
0

mraa.c: Add MRAA_SUCCESS return to mraa_remove_subplatform

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-10-11 08:48:47 +01:00
parent 1d4b19dc4b
commit 11bbd05533

View File

@@ -1051,6 +1051,7 @@ mraa_remove_subplatform(mraa_platform_t subplatformtype)
free(plat->sub_platform->adv_func);
free(plat->sub_platform->pins);
free(plat->sub_platform);
return MRAA_SUCCESS;
}
#endif
return MRAA_ERROR_INVALID_PARAMETER;