Private
Public Access
2
0

mraa.c: Do not return with error if iio devices are not detected

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:
Henry Bruce
2015-12-03 15:24:10 -08:00
committed by Brendan Le Foll
parent 6a85c57c06
commit 7703634bc5

View File

@@ -143,9 +143,8 @@ mraa_init()
}
#endif
mraa_result_t iio_result = mraa_iio_detect();
if (iio_result != MRAA_SUCCESS)
return iio_result;
// Look for IIO devices
mraa_iio_detect();
syslog(LOG_NOTICE, "libmraa initialised for platform '%s' of type %d", mraa_get_platform_name(), mraa_get_platform_type());
return MRAA_SUCCESS;