Commit d0cac78
ModbusSerialClient: Initialise new fields.
Not initialising _last_frame_end and _silent_interval breaks test cases.
We'll initialise _last_frame_end to 0.0 (to indicate the last frame is
possibly a *long* time ago, connect resets it) and we set
_silent_interval there since baud rate should not be changing.
(cherry picked from commit 9f89bff)1 parent 74e15ea commit d0cac78
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
333 | 335 | | |
334 | 336 | | |
335 | 337 | | |
336 | | - | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
0 commit comments