analogdevicesinc / libiio

A cross platform library for interfacing with local and remote Linux IIO devices
http://analogdevicesinc.github.io/libiio/
GNU Lesser General Public License v2.1
471 stars 309 forks source link

Fixes broken iio_context_add_device() in local.c #1173

Closed catkira closed 1 month ago

catkira commented 1 month ago

PR Description

fixes issue https://github.com/analogdevicesinc/libiio/issues/1172

PR Type

PR Checklist

pcercuei commented 1 month ago

The fix makes sense to me, thanks! Good catch!

If you know how, can you squash the commits into one, and add a proper Signed-off-by line with your real name for copyright attribution?

catkira commented 1 month ago

yes I can do that.

ps: It would be nice if u could have a look at the other open issue about iiod crashes, thats not so easy for me to fix :)

pcercuei commented 1 month ago

Note that I don't work at ADI anymore ;) But somebody should fix these errors, yes.

catkira commented 1 month ago

yes I know, just one last courtesy fix ;)

catkira commented 1 month ago

If you know how, can you squash the commits into one, and add a proper Signed-off-by line with your real name for copyright attribution?

done.