diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7555b1f..84dea3b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -293,7 +293,7 @@ void handleJPG(void) { if (prev_led_state == LOW) { digitalWrite(LED_GPIO_NUM, HIGH); // Delay capture to prevent partial illumination - delay(200); + delay(300); } cam.run(); @@ -467,8 +467,7 @@ void setup() { // Start Android OTA RTOS task xTaskCreatePinnedToCore(ota_handle, "TaskAutoConnect", 10000, NULL, 1, &tOTA, - 0); - // xTaskCreate(ota_handle, "ota", 8 * 1024, NULL, 1, NULL); + PRO_CPU); // Start mainstreaming RTOS task xTaskCreatePinnedToCore(mjpegCB, "mjpeg", 4 * 1024, NULL, 2, &tMjpeg, |