Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: system: nuttx: fix undeclared parameter compile error #315

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. lib/system/nuttx: fix undeclared parameter compile error

    fix compile error:
    /nuttx/openamp/libmetal/lib/system/nuttx/device.c:16:22: error:
    'io' undeclared (first use in this function)
       16 |         metal_unused(io);
    /nuttx/openamp/libmetal/lib/system/nuttx/device.c:14:53: error:
    unused parameter 'dev' [-Werror=unused-parameter]
       14 | int metal_generic_dev_sys_open(struct metal_device *dev)
    ...
    
    Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
    wyr-7 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    53ff675 View commit details
    Browse the repository at this point in the history