Troubles with locking #24
Labels
No Label
New feature
bug
dependencies
documentation
duplicate
good first issue
help wanted
improvement
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jarno/enervent-ctrl#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to write a holding register, the write function hangs, causing updates to hang as well. Probably due to mistakes in the locking logic.
The issues were caused by some places acquiring the lock before calling a function that also tries to acquire it.
While at it, moved to using only single modbus.Handler and modbus.Client. This also reduced boilerplate code a lot.