Skip to content

Commit dc680e9

Browse files
committed
TITEM_UPDATEDEVICE now uses common update route
1 parent c452a86 commit dc680e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/SQLHelper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3533,8 +3533,8 @@ void CSQLHelper::Do_Work()
35333533
}
35343534
else if (itt->_ItemType == TITEM_UPDATEDEVICE)
35353535
{
3536-
//m_mainworker.UpdateDevice(itt->_idx, itt->_nValue, itt->_sValue, 12, 255, (itt->_switchtype ? true : false));
3537-
m_mainworker.m_eventsystem.UpdateDevice(itt->_idx, itt->_nValue, itt->_sValue, itt->_HardwareID, (itt->_switchtype ? true : false));
3536+
m_mainworker.UpdateDevice((int)itt->_idx, itt->_nValue, itt->_sValue, 12, 255, (itt->_switchtype ? true : false));
3537+
//m_mainworker.m_eventsystem.UpdateDevice(itt->_idx, itt->_nValue, itt->_sValue, itt->_HardwareID, (itt->_switchtype ? true : false));
35383538
}
35393539
else if (itt->_ItemType == TITEM_CUSTOM_COMMAND)
35403540
{

0 commit comments

Comments
 (0)