This commit is contained in:
2025-10-19 23:09:55 +02:00
parent 3ab2a7bf26
commit de1ac0e7a2

View File

@@ -836,12 +836,12 @@ void notificationTask(void* /*param*/) {
} }
bool sent = false; bool sent = false;
for (uint8_t attempt = 0; attempt < 20; ++attempt) { while (g_activeConnHandle != BLE_HS_CONN_HANDLE_NONE) {
if (sendFileResponseNow(msg)) { if (sendFileResponseNow(msg)) {
sent = true; sent = true;
break; break;
} }
vTaskDelay(pdMS_TO_TICKS(5)); vTaskDelay(pdMS_TO_TICKS(100));
} }
if (!sent) { if (!sent) {