File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ extern "C" {
48
48
auto cfg = M5.config ();
49
49
cfg.output_power = false ;
50
50
M5.begin (cfg);
51
- // in_i2c_init();
52
- // M5.In_I2C.release();
51
+ in_i2c_init ();
52
+ M5.In_I2C .release ();
53
53
}
54
54
55
55
void power_init ()
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ static camera_config_t camera_config = {
50
50
.pin_pwdn = CORES3_CAMERA_POWER_DOWN_PIN ,
51
51
.pin_reset = CORES3_CAMERA_RESET_PIN ,
52
52
.pin_xclk = CORES3_CAMERA_XCLK_PIN ,
53
- .pin_sscb_sda = CORES3_CAMERA_SDA_PIN ,
54
- .pin_sscb_scl = CORES3_CAMERA_SCL_PIN ,
53
+ .pin_sscb_sda = -1 ,
54
+ .pin_sscb_scl = -1 ,
55
55
.pin_d7 = CORES3_CAMERA_D7_PIN ,
56
56
.pin_d6 = CORES3_CAMERA_D6_PIN ,
57
57
.pin_d5 = CORES3_CAMERA_D5_PIN ,
@@ -73,6 +73,7 @@ static camera_config_t camera_config = {
73
73
.fb_count = 2 ,
74
74
.fb_location = CAMERA_FB_IN_PSRAM ,
75
75
.grab_mode = CAMERA_GRAB_LATEST ,
76
+ .sccb_i2c_port = 1 ,
76
77
};
77
78
78
79
static enum {
You can’t perform that action at this time.
0 commit comments