mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
c3d9b86662
put_reg/get_reg function was overriding i2c transfer error code with i2creset return value, that lead to OK status although actual transfer failed. Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com> Reported-by: Harri Luhtala <harri.luhtala@haltian.com>