forked from xiaozhi/xiaozhi-esp32
Fix missing display
This commit is contained in:
@@ -66,6 +66,7 @@ void Application::CheckNewVersion() {
|
|||||||
int retry_count = 0;
|
int retry_count = 0;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
auto display = Board::GetInstance().GetDisplay();
|
||||||
if (!ota_.CheckVersion()) {
|
if (!ota_.CheckVersion()) {
|
||||||
retry_count++;
|
retry_count++;
|
||||||
if (retry_count >= MAX_RETRY) {
|
if (retry_count >= MAX_RETRY) {
|
||||||
|
|||||||
Reference in New Issue
Block a user