Implement Read-Only OLED Status UI
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "esp_psram.h"
|
||||
#include "network_console.h"
|
||||
#include "local_display.h"
|
||||
#include "local_status_ui.h"
|
||||
#include "local_ui_hw_test.h"
|
||||
#include "rs232_hw_test.h"
|
||||
#include "rs232_port_owner.h"
|
||||
@@ -201,6 +202,14 @@ void app_main(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (local_ui_error == ESP_OK) {
|
||||
esp_err_t local_status_ui_error = local_status_ui_start();
|
||||
if (local_status_ui_error != ESP_OK) {
|
||||
ESP_LOGW(TAG, "Local status UI unavailable: %s",
|
||||
esp_err_to_name(local_status_ui_error));
|
||||
}
|
||||
}
|
||||
|
||||
ESP_LOGI(
|
||||
TAG,
|
||||
"Using %s serial configuration; UART service starts on 'serial start' or native USB open",
|
||||
|
||||
Reference in New Issue
Block a user