mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-18 22:13:45 +02:00
- Changed return; to return ESP_FAIL; to match esp_err_t return type
- Prevent build errors by properly handling missing wired mode configuration
This commit is contained in:
@@ -111,7 +111,7 @@ esp_err_t UVCStreamManager::setup()
|
||||
|
||||
#ifndef CONFIG_GENERAL_WIRED_MODE
|
||||
ESP_LOGE(UVC_STREAM_TAG, "The board does not support UVC, please, setup WiFi connection.");
|
||||
return;
|
||||
return ESP_FAIL;
|
||||
#endif
|
||||
|
||||
ESP_LOGI(UVC_STREAM_TAG, "Setting up UVC Stream");
|
||||
|
||||
Reference in New Issue
Block a user