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

Create and use AP_PERIPH_NOTIFY_ENABLED #29328

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

shiv-tyagi
Copy link
Contributor

No description provided.

@@ -472,7 +472,7 @@ const AP_Param::Info AP_Periph_FW::var_info[] = {
GSCALAR(msp_port, "MSP_PORT", AP_PERIPH_MSP_PORT_DEFAULT),
#endif

#ifdef HAL_PERIPH_ENABLE_NOTIFY
#if AP_PERIPH_NOTIFY_ENABLED
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do need to come back and revisit these guards around the objects themselves.

IMO the objects themselves should be guarded with AP_NOTIFY_ENABLED - which AP_PERIPH_NOTIFY_ENABLED would obviously enable, but other things may as well.

Obviously something for the future...

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@peterbarker peterbarker merged commit 2b6bbed into ArduPilot:master Feb 20, 2025
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants