diff --git a/components/modules/Kconfig b/components/modules/Kconfig index 1fb5363..3690c36 100644 --- a/components/modules/Kconfig +++ b/components/modules/Kconfig @@ -74,7 +74,7 @@ menu "ESP-WHO Configuration" bool "ESP32-S2-Kaluga-1 V1.3" config CAMERA_MODULE_ESP_S3_EYE bool "ESP-S3-EYE DevKit" - config CAMERA_MODEL_ESP32_CAM_BOARD + config CAMERA_MODULE_ESP32_CAM_BOARD bool "ESP32 Camera Development Board" config CAMERA_MODULE_M5STACK_PSRAM bool "M5Stack Camera With PSRAM" diff --git a/components/modules/camera/who_camera.c b/components/modules/camera/who_camera.c index cb4d0a6..3185c2b 100644 --- a/components/modules/camera/who_camera.c +++ b/components/modules/camera/who_camera.c @@ -23,7 +23,7 @@ void register_camera(const pixformat_t pixel_fromat, { ESP_LOGI(TAG, "Camera module is %s", CAMERA_MODULE_NAME); -#if CONFIG_CAMERA_MODEL_ESP_EYE || CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD +#if CONFIG_CAMERA_MODULE_ESP_EYE || CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD /* IO13, IO14 is designed for JTAG by default, * to use it as generalized input, * firstly declair it as pullup input */ diff --git a/components/modules/camera/who_camera.h b/components/modules/camera/who_camera.h index 76ce512..d53712c 100644 --- a/components/modules/camera/who_camera.h +++ b/components/modules/camera/who_camera.h @@ -89,7 +89,7 @@ #define CAMERA_PIN_D6 17 #define CAMERA_PIN_D7 16 -#elif CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD +#elif CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD #define CAMERA_MODULE_NAME "ESP-DEVCAM" #define CAMERA_PIN_PWDN 32 #define CAMERA_PIN_RESET 33 diff --git a/examples/code_recognition/main/app_peripherals.c b/examples/code_recognition/main/app_peripherals.c index eda33fd..0224d40 100644 --- a/examples/code_recognition/main/app_peripherals.c +++ b/examples/code_recognition/main/app_peripherals.c @@ -9,7 +9,7 @@ esp_err_t app_camera_init() { ESP_LOGI(TAG, "Camera module is %s", CAMERA_MODULE_NAME); -#if CONFIG_CAMERA_MODEL_ESP_EYE || CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD +#if CONFIG_CAMERA_MODULE_ESP_EYE || CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD /* IO13, IO14 is designed for JTAG by default, * to use it as generalized input, * firstly declair it as pullup input */ diff --git a/examples/code_recognition/main/include/app_peripherals.h b/examples/code_recognition/main/include/app_peripherals.h index d769821..d69f6d0 100644 --- a/examples/code_recognition/main/include/app_peripherals.h +++ b/examples/code_recognition/main/include/app_peripherals.h @@ -92,7 +92,7 @@ #define CAMERA_PIN_D6 17 #define CAMERA_PIN_D7 16 -#elif CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD +#elif CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD #define CAMERA_MODULE_NAME "ESP-DEVCAM" #define CAMERA_PIN_PWDN 32 #define CAMERA_PIN_RESET 33