Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7b196ce

Browse files
committedFeb 26, 2024·
ModbusSunSpec: changed loop interval
1 parent 3593d04 commit 7b196ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ModbusSunSpec.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
ModbusSunSpecClass ModbusSunSpec;
1212

1313
ModbusSunSpecClass::ModbusSunSpecClass()
14-
: _loopTask(100 * TASK_MILLISECOND, TASK_FOREVER, std::bind(&ModbusSunSpecClass::loop, this))
14+
: _loopTask(TASK_SECOND, TASK_FOREVER, std::bind(&ModbusSunSpecClass::loop, this))
1515
, _netTask(TASK_IMMEDIATE, TASK_FOREVER, std::bind(&ModbusSunSpecClass::task, this))
1616
{
1717
}

0 commit comments

Comments
 (0)
Please sign in to comment.