OTA pipeline working
This commit is contained in:
@@ -22,9 +22,11 @@ static void heartbeat_task(void* arg)
|
||||
time(&now);
|
||||
|
||||
protocol_send_event_hb((uint32_t)now);
|
||||
vTaskDelay(pdMS_TO_TICKS(30000)); // 30 сек
|
||||
} else
|
||||
{
|
||||
vTaskDelay(pdMS_TO_TICKS(2000));
|
||||
}
|
||||
|
||||
vTaskDelay(pdMS_TO_TICKS(10000)); // 10 сек
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user