Commit 90df02156f67ef8d9d2a5009c238acc8e08869e5
1 parent
cf22eabc
Add entries for modbus_rtu_[get|set]_delay in documentation index
Showing
2 changed files
with
3 additions
and
0 deletions
doc/libmodbus.txt
src/modbus-rtu.c
| ... | ... | @@ -1262,6 +1262,7 @@ modbus_t* modbus_new_rtu(const char *device, |
| 1262 | 1262 | /* Calculate estimated time in micro second to send one byte */ |
| 1263 | 1263 | ctx_rtu->onebyte_time = 1000000 * (1 + data_bit + (parity == 'N' ? 0 : 1) + stop_bit) / baud; |
| 1264 | 1264 | |
| 1265 | + /* The internal function is used by default to set RTS */ | |
| 1265 | 1266 | ctx_rtu->set_rts = _modbus_rtu_ioctl_rts; |
| 1266 | 1267 | |
| 1267 | 1268 | /* The delay before and after transmission when toggling the RTS pin */ | ... | ... |