We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc6b62a commit 594df7aCopy full SHA for 594df7a
src/NimBLEClient.cpp
@@ -74,6 +74,7 @@ NimBLEClient::NimBLEClient(const NimBLEAddress &peerAddress) : m_peerAddress(pee
74
m_pConnParams.min_ce_len = BLE_GAP_INITIAL_CONN_MIN_CE_LEN; // Minimum length of connection event in 0.625ms units
75
m_pConnParams.max_ce_len = BLE_GAP_INITIAL_CONN_MAX_CE_LEN; // Maximum length of connection event in 0.625ms units
76
77
+ memset(&m_dcTimer, 0, sizeof(m_dcTimer));
78
ble_npl_callout_init(&m_dcTimer, nimble_port_get_dflt_eventq(),
79
NimBLEClient::dcTimerCb, this);
80
} // NimBLEClient
0 commit comments