From dba754757e24dace8446c1a63ced2c8fc82da763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20VINCENT?= <44554692+comejv@users.noreply.github.com> Date: Wed, 21 Jan 2026 13:48:26 +0100 Subject: [PATCH] fix(macro): fix CAPIO_FREQUENCY macro typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Going from CAPIOC_FREQUENCE to CAPIO_FREQUENCY according to nuttx/pull/16925 Signed-off-by: Côme VINCENT <44554692+comejv@users.noreply.github.com> --- examples/capture/cap_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/capture/cap_main.c b/examples/capture/cap_main.c index 3ca080368fd..2ba238a605d 100644 --- a/examples/capture/cap_main.c +++ b/examples/capture/cap_main.c @@ -351,11 +351,11 @@ int main(int argc, FAR char *argv[]) /* Get the frequency data using the ioctl */ - ret = ioctl(fd, CAPIOC_FREQUENCE, + ret = ioctl(fd, CAPIOC_FREQUENCY, (unsigned long)((uintptr_t)&frequency)); if (ret < 0) { - printf("cap_main: ioctl(CAPIOC_FREQUENCE) failed: %d\n", errno); + printf("cap_main: ioctl(CAPIOC_FREQUENCY) failed: %d\n", errno); exitval = EXIT_FAILURE; goto errout_with_dev; }