Add missing mutex timeout warning in updateConnectionMTU

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
torlando-techandClaude Opus 4.6 committed 2026-03-05 11:44:30 -05:00
1 parent 20a072d258
commit 8c0dd227f4
1 file changed
+3
@@ -2576,6 +2576,9 @@ void NimBLEPlatform::updateConnectionMTU(uint16_t conn_handle, uint16_t mtu) {
it->second.mtu = mtu - MTU::ATT_OVERHEAD;
}
xSemaphoreGive(_conn_mutex);
} else {
WARNING("NimBLEPlatform::updateConnectionMTU: mutex timeout for handle " +
std::to_string(conn_handle));
}
}