You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems more appropriate that it return eStatus, rather than always returning success. This would have a chance for the caller to track that things have gone wrong.
The text was updated successfully, but these errors were encountered:
karlp
added a commit
to etactica/freemodbus
that referenced
this issue
Aug 26, 2019
Status flags are returned by the internal peMBFrameReceiveCur and
peMBFrameSendCur handlers, but were being ignored, with the function
simply always returning MB_ENOERR unless the entire eMBState was
invalid.
This should allow better stats collecting from the outside of eMBPoll
Fixes: cwalter-at#8
Signed-off-by: Karl Palsson <[email protected]>
Status flags are returned by the internal peMBFrameReceiveCur and
peMBFrameSendCur handlers, but were being ignored, with the function
simply always returning MB_ENOERR unless the entire eMBState was
invalid.
This should allow better stats collecting from the outside of eMBPoll
Fixes: cwalter-at#8
Signed-off-by: Karl Palsson <[email protected]>
It seems more appropriate that it return eStatus, rather than always returning success. This would have a chance for the caller to track that things have gone wrong.
The text was updated successfully, but these errors were encountered: