Skip to content

Conversation

@hmaerki
Copy link

@hmaerki hmaerki commented Jan 22, 2024

Problem

Code before this PR: t1char_ms = max(1, self._t1char//1000)

@beyonlo: After that I integrated this new version to my application, sometimes my application goes crazy: my thread goes slow, the network connection via WiFi (I'm using ESP32-S3 that has WiFi) causes big delays, strange behaviour/large timeouts (and so on) that never happened before with others async ModBus Slave (RTU and TCP) versions.

Fix

This MR solves the problem @beyonlo observed.

@beyonlo
Copy link

beyonlo commented Jan 23, 2024

Excellent :)

@GimmickNG GimmickNG merged commit 2f4e4eb into GimmickNG:mpmodbus-compatibility Jul 14, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants