This commit is contained in:
zhouhuang 2024-12-16 13:13:12 +08:00
parent 01c7114eaa
commit 20706b8b96

View File

@ -1006,9 +1006,7 @@ BOOLEAN CHostADSBFProcess::OnTimer(void)
readFileID(); readFileID();
} }
} }
vLog(LOG_DEBUG, "%s read data.\n", m_pidName.c_str());
readRealData(); readRealData();
vLog(LOG_DEBUG, "%s feed dog.\n", m_pidName.c_str());
FeedDog(); FeedDog();
} }
return TRUE; return TRUE;
@ -1090,7 +1088,6 @@ BOOLEAN CHostADSBFProcess::readRealData()
for (int k = 0; k < 4; k++) for (int k = 0; k < 4; k++)
{ {
if (!m_adsDatas[k].inuse) continue; if (!m_adsDatas[k].inuse) continue;
vLog(LOG_DEBUG, "%s start to read %d\n", m_pidName.c_str(), k);
WORD m_adsOverviewDataMemAddr = m_adsDatas[k].adsDataMemAddr; WORD m_adsOverviewDataMemAddr = m_adsDatas[k].adsDataMemAddr;
register2typemap m_register2type_map = m_adsDatas[k].adsDataBlocks; register2typemap m_register2type_map = m_adsDatas[k].adsDataBlocks;