We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c3150f commit 89f7ab0Copy full SHA for 89f7ab0
libraries/Camera/src/camera.cpp
@@ -605,7 +605,7 @@ int Camera::grabFrame(FrameBuffer &fb, uint32_t timeout)
605
606
HAL_DCMI_Suspend(&hdcmi);
607
608
- #ifndef ARDUINO_PORTENTA_H7_M4 // do not invalidate if Portenta M4 Core
+ #if defined(__CORTEX_M7) // only invalidate buffer for Cortex M7
609
// Invalidate buffer after DMA transfer.
610
SCB_InvalidateDCache_by_Addr((uint32_t*) framebuffer, framesize);
611
#endif
0 commit comments