Explorar o código

fix(openthread): fix host interface mdoe none

zwx %!s(int64=2) %!d(string=hai) anos
pai
achega
1dc2a98d1e
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      components/openthread/src/esp_openthread_platform.cpp

+ 3 - 0
components/openthread/src/esp_openthread_platform.cpp

@@ -113,6 +113,9 @@ static esp_err_t esp_openthread_host_interface_init(const esp_openthread_platfor
                           "esp_openthread_host_cli_usb_init failed");
         break;
 #endif
+    case HOST_CONNECTION_MODE_NONE:
+        ESP_LOGI(OT_PLAT_LOG_TAG, "Host connection mode none");
+        break;
     default:
         return ESP_FAIL;
     }