implemented config and irrigation commands

This commit is contained in:
Emanuele Trabattoni
2025-07-25 21:53:49 +02:00
parent 74a97a7dd6
commit 5459148538
5 changed files with 184 additions and 41 deletions

View File

@@ -156,7 +156,7 @@ namespace drivers
// Delay Bus Access between different devices
if (device != m_lastDevice)
{
LOG_WARN("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
LOG_DEBUG("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
BUS_DELAY;
m_lastDevice = device;
}
@@ -213,7 +213,7 @@ namespace drivers
// Delay Bus Access between different devices
if (device != m_lastDevice)
{
LOG_WARN("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
LOG_DEBUG("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
BUS_DELAY;
m_lastDevice = device;
}
@@ -266,7 +266,7 @@ namespace drivers
// Delay Bus Access between different devices
if (device != m_lastDevice)
{
LOG_WARN("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
LOG_DEBUG("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
BUS_DELAY;
m_lastDevice = device;
}
@@ -325,7 +325,7 @@ namespace drivers
// Delay Bus Access between different devices
if (device != m_lastDevice)
{
LOG_WARN("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
LOG_DEBUG("MODBUS device change from ", printHex(m_lastDevice).c_str(), "to", printHex(device).c_str());
BUS_DELAY;
m_lastDevice = device;
}