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
484 stars 313 forks source link

bindings/cpp: value defaults to an offset of one #1135

Closed ekigwana closed 8 months ago

ekigwana commented 8 months ago

https://github.com/analogdevicesinc/libiio/blob/1af94f23fff70217a66de12c0b898481c0edb424/bindings/cpp/iiopp.h#L710

iiopp::value defaults offset to one instead of zero

pcercuei commented 8 months ago

@ekigwana good catch, thanks. I created #1137 to fix it.