Commit 6a9ce4f
committed
cam_hal: psram: reset DMA and yield after NO-EOI to resume capture
In PSRAM JPEG mode, a truncated frame (missing EOI) could leave GDMA in
a bad state and cause subsequent captures to time out.
Fix:
- On the NO-EOI path, reset the DMA channel (`ll_cam_dma_reset(cam_obj)`).
- Yield once (`vTaskDelay(1)`) to let the pipeline restart cleanly.
Result: the driver recovers on the next frame instead of timing out,
reducing spurious capture failures after truncated JPEGs.1 parent 2368d94 commit 6a9ce4f
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
600 | 602 | | |
| 603 | + | |
601 | 604 | | |
602 | 605 | | |
603 | 606 | | |
| |||
0 commit comments