Skip to content

Commit

Permalink
ModbusSunSpec: timing changes (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
pipelka committed Apr 1, 2024
1 parent a3655e1 commit b009a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModbusSunSpec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
ModbusSunSpecClass ModbusSunSpec;

ModbusSunSpecClass::ModbusSunSpecClass()
: _loopTask(TASK_SECOND, TASK_FOREVER, std::bind(&ModbusSunSpecClass::loop, this))
: _loopTask(100 * TASK_MILLISECOND, TASK_FOREVER, std::bind(&ModbusSunSpecClass::loop, this))
, _netTask(TASK_IMMEDIATE, TASK_FOREVER, std::bind(&ModbusSunSpecClass::task, this))
{
}
Expand Down

0 comments on commit b009a6b

Please sign in to comment.