Keep Indicator RGB scanout alive during expander recovery
This commit is contained in:
1 parent
260b07999e
commit
6df9a9f686
3 files changed
+41
-8
No files matched your search
@@ -826,6 +826,7 @@ void halt() {
|
||||
CompanionWiFiDisplayState::NotRendered;
|
||||
static uint32_t companion_wifi_display_frames = 0;
|
||||
static bool companion_display_available = false;
|
||||
static uint8_t companion_display_begin_status = 0;
|
||||
|
||||
#if defined(COMPANION_EXCLUSIVE_WIFI_BLE)
|
||||
static CompanionTransportMode companion_transport_boot_mode =
|
||||
@@ -1174,10 +1175,11 @@ void halt() {
|
||||
const bool idf_associated =
|
||||
esp_wifi_sta_get_ap_info(&access_point) == ESP_OK;
|
||||
snprintf(reply, reply_size,
|
||||
"> state=%s, frames=%lu, display=%u, requested=%u, services=%u, "
|
||||
"> state=%s, frames=%lu, display=%u/%02X, requested=%u, services=%u, "
|
||||
"wl=%d, idf=%u, IP=%s",
|
||||
names[state], (unsigned long)companion_wifi_display_frames,
|
||||
companion_display_available ? 1U : 0U,
|
||||
(unsigned int)companion_display_begin_status,
|
||||
companion_wifi_requested ? 1U : 0U,
|
||||
companion_wifi_active ? 1U : 0U, (int)WiFi.status(),
|
||||
idf_associated ? 1U : 0U,
|
||||
@@ -1737,6 +1739,7 @@ void setup() {
|
||||
}
|
||||
#if defined(ESP32) && defined(WIFI_SSID)
|
||||
companion_display_available = disp != NULL;
|
||||
companion_display_begin_status = display.beginStatus();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user