update
This commit is contained in:
parent
60fa5d14f4
commit
c96c3ed552
@ -984,6 +984,7 @@ BOOLEAN CHostADSBFProcess::OnTimer(void)
|
|||||||
const auto state = m_turbine->GetState();
|
const auto state = m_turbine->GetState();
|
||||||
if ((uint16_t)state.ads >= ADSSTATE::ADSSTATE_MAXSTATES || (uint16_t)state.device >= ADSSTATE::ADSSTATE_MAXSTATES)
|
if ((uint16_t)state.ads >= ADSSTATE::ADSSTATE_MAXSTATES || (uint16_t)state.device >= ADSSTATE::ADSSTATE_MAXSTATES)
|
||||||
{
|
{
|
||||||
|
m_bRouteAdded = FALSE;
|
||||||
vLog(LOG_DEBUG, "%s read device state error.\n", m_pidName.c_str());
|
vLog(LOG_DEBUG, "%s read device state error.\n", m_pidName.c_str());
|
||||||
delete m_turbine;
|
delete m_turbine;
|
||||||
m_turbine = NULL;
|
m_turbine = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user