Properly initialize model timer structs.

This commit is contained in:
h2zero 2022-05-09 19:35:30 -06:00
parent 1dedff342b
commit 507f146477

View file

@ -59,6 +59,8 @@ NimBLEMeshModel::NimBLEMeshModel(NimBLEMeshModelCallbacks *pCallbacks,
m_transStep = 0;
memset(&m_opPub, 0, sizeof(m_opPub));
memset(&m_tdTimer, 0, sizeof(m_tdTimer));
memset(&m_pubTimer, 0, sizeof(m_pubTimer));
}