api: Renamed some sub-platform API calls.
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
b109a12dd1
commit
4031124081
@@ -132,7 +132,7 @@ mraa_gpio_init(int pin)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (mraa_is_on_sub_platform(pin)) {
|
||||
if (mraa_is_sub_platform_id(pin)) {
|
||||
syslog(LOG_NOTICE, "gpio: Using sub platform");
|
||||
board = board->sub_platform;
|
||||
if (board == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user