adjust for non Arduino

This commit is contained in:
XiaochaoGONG
2019-03-29 12:06:57 +08:00
parent 54814d065f
commit f7fed18718
4 changed files with 5 additions and 3 deletions

View File

@@ -6,7 +6,6 @@
* OV3660 driver.
*
*/
#include "Arduino.h"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
@@ -18,9 +17,11 @@
#include "freertos/task.h"
#if defined(ARDUINO_ARCH_ESP32) && defined(CONFIG_ARDUHAL_ESP_LOG)
#include "Arduino.h"
#include "esp32-hal-log.h"
#else
#include "esp_log.h"
#define delay(x)
static const char *TAG = "ov3660";
#endif