Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion driver/sccb-ng.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int SCCB_Use_Port(int i2c_num)
return ESP_ERR_INVALID_ARG;
}
sccb_i2c_port = i2c_num;

sccb_owns_i2c_port = false; // in this case, camera doesn't own the i2c port
return ESP_OK;
}

Expand Down
1 change: 1 addition & 0 deletions driver/sccb.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ int SCCB_Use_Port(int i2c_num) { // sccb use an already initialized I2C port
return ESP_ERR_INVALID_ARG;
}
sccb_i2c_port = i2c_num;
sccb_owns_i2c_port = false; // in this case, camera doesn't own the i2c port
return ESP_OK;
}

Expand Down