Add bounded OLED boot identity animation
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "esp_psram.h"
|
||||
#include "network_console.h"
|
||||
#include "local_display.h"
|
||||
#include "local_boot_animation.h"
|
||||
#include "local_status_ui.h"
|
||||
#include "local_ui_config.h"
|
||||
#include "local_ui_console.h"
|
||||
@@ -70,6 +71,12 @@ void app_main(void)
|
||||
if (local_display_error != ESP_OK) {
|
||||
ESP_LOGW(TAG, "Local display unavailable: %s",
|
||||
esp_err_to_name(local_display_error));
|
||||
} else {
|
||||
local_display_error = local_boot_animation_play();
|
||||
if (local_display_error != ESP_OK) {
|
||||
ESP_LOGW(TAG, "Local boot animation unavailable: %s",
|
||||
esp_err_to_name(local_display_error));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user