fix: XCLK preprocessor macro

- change condition to match USB_API not WROVER board
This commit is contained in:
DaOfficialWizard 2023-04-19 23:01:30 +01:00
parent 90a17d6e6f
commit 2afcad64b6

View File

@ -34,7 +34,8 @@ void CameraHandler::setupCameraPinout() {
pinMode(13, INPUT_PULLUP);
pinMode(14, INPUT_PULLUP);
log_i("CAM_BOARD");
#elif CONFIG_CAMERA_MODULE_ESPS3WROVER
#endif
#if ETVR_EYE_TRACKER_USB_API
/* ESP32-S3 is capable of using higher freqs */
xclk_freq_hz = 24000000;
#endif