]> sigrok.org Git - libsigrok.git/commit
rdtech-dps: undo undesired register re-read logic change
authorGerhard Sittig <redacted>
Thu, 28 Sep 2023 10:37:51 +0000 (12:37 +0200)
committerGerhard Sittig <redacted>
Thu, 28 Sep 2023 11:43:50 +0000 (13:43 +0200)
commitf0f6b926c296a0a6e5fca1aba51cec77521c2f4c
treea2bc8a118e386faf387c1a4fbb65fe728fecb9a8
parent62f3228bc94224e54a1474365a84b7157791dc34
rdtech-dps: undo undesired register re-read logic change

Commit 02a4f485de76 snuck in a change that should not have gone there.
Revert the logic which re-reads Modbus registers several times before
declaring failure. Use the previous implementation as intended.
src/hardware/rdtech-dps/protocol.c