Commit dcbea25
committed
src/modbus.c: _modbus_receive_msg(): we use a *backend* select(), not the standard one; do return from method if that implementation fails
Note that the primary "weird" use-case is about libusb backend;
its _modbus_rtu_usb_select() ignores "rset" anyway, and talks
to the libusb context.
Signed-off-by: Jim Klimov <[email protected]>1 parent 93d79d4 commit dcbea25
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 447 | + | |
453 | 448 | | |
454 | 449 | | |
455 | 450 | | |
| |||
0 commit comments