Skip to content

Commit f401808

Browse files
committed
ModbusSunSpec: changed loop interval
1 parent 6e8b01d commit f401808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)