Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 TTGO T-Journal without PSRAM support #19

Merged
merged 5 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unified config camera struct into the all drivers. (TODO: improv)
  • Loading branch information
hpsaturn committed Apr 27, 2024
commit dd4ad88b3ec3592ff2420e9c552a8f0c52611e7f
3 changes: 1 addition & 2 deletions src/drivers/CamFreenove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ static camera_config_t camera_config = {
.jpeg_quality = 0,
.fb_count = 2,
.fb_location = CAMERA_FB_IN_PSRAM,
.grab_mode = CAMERA_GRAB_WHEN_EMPTY,
.sccb_i2c_port = 0
.grab_mode = CAMERA_GRAB_WHEN_EMPTY
};

bool CamFreenove::begin() {
Expand Down
4 changes: 2 additions & 2 deletions src/drivers/CamXiao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ static camera_config_t camera_config = {
.pin_pwdn = PWDN_GPIO_NUM,
.pin_reset = RESET_GPIO_NUM,
.pin_xclk = XCLK_GPIO_NUM,
.pin_sccb_sda = SIOD_GPIO_NUM,
.pin_sccb_scl = SIOC_GPIO_NUM,
.pin_sscb_sda = SIOD_GPIO_NUM,
.pin_sscb_scl = SIOC_GPIO_NUM,
.pin_d7 = Y9_GPIO_NUM,
.pin_d6 = Y8_GPIO_NUM,
.pin_d5 = Y7_GPIO_NUM,
Expand Down
Loading