mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-05-01 03:53:45 +02:00
Added Camera_USB_XCLK_FREQ and CONFIG_GENERAL_UVC_DELAY
This commit is contained in:
@@ -10,6 +10,24 @@ menu "OpenIris: General Configuration"
|
||||
bool "Wired mode"
|
||||
default false
|
||||
|
||||
config GENERAL_UVC_DELAY
|
||||
int "UVC delay (s)"
|
||||
default 30
|
||||
range 10 10000
|
||||
help
|
||||
Delay in seconds before the ESP reports itself as a UVC device.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "OpenIris: Camera Configuration"
|
||||
|
||||
config Camera_USB_XCLK_FREQ
|
||||
int "USB XCLK frequency (Hz)"
|
||||
default 20000000
|
||||
range 1 40000000
|
||||
help
|
||||
USB XCLK frequency in Hertz.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "OpenIris: WiFi Configuration"
|
||||
|
||||
@@ -231,6 +231,6 @@ extern "C" void app_main(void) {
|
||||
// Pass the actual TaskHandle_t value into the timer
|
||||
timerHandle = createStartVideoStreamingTimer((void*)serialManagerHandle);
|
||||
if (timerHandle != nullptr) {
|
||||
esp_timer_start_once(timerHandle, 30000000); // 30s
|
||||
esp_timer_start_once(timerHandle, CONFIG_GENERAL_UVC_DELAY * 1000000);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user