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

fix(PeriphDrivers): Fix CSI2 Line Count Stop Condition #1167

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 Libraries/PeriphDrivers/Source/CSI2/csi2_reva.c
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ void MXC_CSI2_RevA_DMA_Handler(void)
#ifdef GPIO_INDICATOR
MXC_GPIO_OutToggle(indicator.port, indicator.mask);
#endif
if (line_cnt > csi2_state.req->lines_per_frame) {
if (line_cnt >= csi2_state.req->lines_per_frame) {
// Frame complete
line_cnt = 0;
MXC_CSI2_RevA_Stop((mxc_csi2_reva_regs_t *)MXC_CSI2);
Expand Down
Loading