This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 85b1a1c8c fix(macro): fix CAPIO_FREQUENCY macro typo
85b1a1c8c is described below
commit 85b1a1c8c13dd15638196e39ab6fd4fffc912849
Author: Côme VINCENT <[email protected]>
AuthorDate: Wed Jan 21 13:48:26 2026 +0100
fix(macro): fix CAPIO_FREQUENCY macro typo
Going from CAPIOC_FREQUENCE to CAPIO_FREQUENCY according to nuttx/pull/16925
Signed-off-by: Côme VINCENT <[email protected]>
---
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 3ca080368..2ba238a60 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;
}