Browse Source

Fix example for ESP-IDF 5.x

pull/362/head
Me No Dev 3 years ago committed by GitHub
parent
commit
298dfdeb5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      examples/main/take_picture.c

5
examples/main/take_picture.c

@ -38,6 +38,11 @@ @@ -38,6 +38,11 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
// support IDF 5.x
#ifndef portTICK_RATE_MS
#define portTICK_RATE_MS portTICK_PERIOD_MS
#endif
#include "esp_camera.h"
#define BOARD_WROVER_KIT 1

Loading…
Cancel
Save