ปัญหานี้แก้ยังไงครับ 'info' was not declared in this scope

Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 80MHz, 115200, None"





















C:\Users\phanuphong_s\Downloads\arduino-nightly-windows\arduino-nightly\libraries\esp32cam-main\src\esp32cam.cpp: In member function 'esp32cam::ResolutionList esp32cam::CameraClass::listResolutions() const':

C:\Users\phanuphong_s\Downloads\arduino-nightly-windows\arduino-nightly\libraries\esp32cam-main\src\esp32cam.cpp:30:3: error: 'camera_sensor_info_t' was not declared in this scope

   camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);

   ^

C:\Users\phanuphong_s\Downloads\arduino-nightly-windows\arduino-nightly\libraries\esp32cam-main\src\esp32cam.cpp:30:25: error: 'info' was not declared in this scope

   camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);

                         ^

C:\Users\phanuphong_s\Downloads\arduino-nightly-windows\arduino-nightly\libraries\esp32cam-main\src\esp32cam.cpp:30:70: error: 'esp_camera_sensor_get_info' was not declared in this scope

   camera_sensor_info_t* info = esp_camera_sensor_get_info(&sensor->id);

                                                                      ^

exit status 1

Error compiling for board ESP32 Wrover Module.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

มันหาฟังก์ชัน esp_camera_sensor_get_info ไม่เจอในส่วนโค้ตหลักมีรึป่าวเช็คด้วยครับ