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
@@ -137,7 +137,7 @@ mraa_i2c_init(int bus)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (mraa_is_on_sub_platform(bus)) {
|
||||
if (mraa_is_sub_platform_id(bus)) {
|
||||
syslog(LOG_NOTICE, "i2c: Using sub platform");
|
||||
board = board->sub_platform;
|
||||
if (board == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user