Skip to content

Commit

Permalink
fix wrong taskname for modbustask
Browse files Browse the repository at this point in the history
  • Loading branch information
Alois Klingler committed Aug 1, 2024
1 parent 4b82f64 commit ef9612e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModbusDtu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ModbusDtuClass ModbusDtu;

ModbusDtuClass::ModbusDtuClass()
: _loopTask(Configuration.get().Dtu.PollInterval * TASK_SECOND, TASK_FOREVER, std::bind(&ModbusDtuClass::loop, this))
, _modbusTask(TASK_IMMEDIATE, TASK_FOREVER, std::bind(&ModbusDtuClass::_modbusTask, this))
, _modbusTask(TASK_IMMEDIATE, TASK_FOREVER, std::bind(&ModbusDtuClass::modbus, this))
{
}

Expand Down

0 comments on commit ef9612e

Please sign in to comment.