diff --git a/bindings/python/iio.py b/bindings/python/iio.py index dffd520eb..4372fcd73 100644 --- a/bindings/python/iio.py +++ b/bindings/python/iio.py @@ -248,10 +248,10 @@ class ChannelType(Enum): _lib = _cdll("libiio.so.1", use_errno=True, use_last_error=True) -_get_backends_count = _lib.iio_get_backends_count +_get_backends_count = _lib.iio_get_builtin_backends_count _get_backends_count.restype = c_uint -_get_backend = _lib.iio_get_backend +_get_backend = _lib.iio_get_builtin_backend _get_backend.argtypes = (c_uint,) _get_backend.restype = c_char_p _get_backend.errcheck = _check_null