Fix missing display

This commit is contained in:
Xiaoxia
2025-04-11 03:11:32 +08:00
parent a5dfe67504
commit 04c0da059f

View File

@@ -66,6 +66,7 @@ void Application::CheckNewVersion() {
int retry_count = 0;
while (true) {
auto display = Board::GetInstance().GetDisplay();
if (!ota_.CheckVersion()) {
retry_count++;
if (retry_count >= MAX_RETRY) {