diff options
| author | HiFiPhile <[email protected]> | 2024-04-09 12:34:36 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-09 12:48:27 +0200 |
| commit | 455a2879fbb293b85c4e8d9ec3d4f172cf77803e (patch) | |
| tree | 9db75203b02caac001932593c582dd9dcdc81788 | |
| parent | 42decf28f1bf7512a4c3e7402c9daf83ee241191 (diff) | |
Fix typo.
| -rw-r--r-- | examples/device/video_capture_2ch/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/video_capture_2ch/src/main.c b/examples/device/video_capture_2ch/src/main.c index 82bc7d6ca..eb1cf2580 100644 --- a/examples/device/video_capture_2ch/src/main.c +++ b/examples/device/video_capture_2ch/src/main.c @@ -184,7 +184,7 @@ size_t get_framebuf(uint_fast8_t ctl_idx, uint_fast8_t stm_idx, size_t fnum, voi if (idx == 0) { // stream 0 use uncompressed YUY2 frame #if defined(CFG_EXAMPLE_VIDEO_READONLY) - *fb = (void*)(uintptr_t ) framebuf_yuy2_readonly[(fnum % (FRAME_WIDTH / 2)) * 4]; + *fb = (void*)(uintptr_t ) &framebuf_yuy2_readonly[(fnum % (FRAME_WIDTH / 2)) * 4]; #else fill_color_bar(framebuf_yuy2, frame_num[idx]); *fb = framebuf_yuy2; |
