mirror of
https://github.com/usatiuk/cardboy.git
synced 2025-10-28 15:17:48 +01:00
fixie
This commit is contained in:
@@ -836,12 +836,12 @@ void notificationTask(void* /*param*/) {
|
||||
}
|
||||
|
||||
bool sent = false;
|
||||
for (uint8_t attempt = 0; attempt < 20; ++attempt) {
|
||||
while (g_activeConnHandle != BLE_HS_CONN_HANDLE_NONE) {
|
||||
if (sendFileResponseNow(msg)) {
|
||||
sent = true;
|
||||
break;
|
||||
}
|
||||
vTaskDelay(pdMS_TO_TICKS(5));
|
||||
vTaskDelay(pdMS_TO_TICKS(100));
|
||||
}
|
||||
|
||||
if (!sent) {
|
||||
|
||||
Reference in New Issue
Block a user