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

Indicate version in which SYS_COMPANION deprecated #11327

Merged
merged 3 commits into from
Feb 5, 2019

Conversation

hamishwillee
Copy link
Contributor

@hamishwillee hamishwillee commented Jan 28, 2019

Useful to know what version the parameter was deprecated and more clearly identify the parameters to use instead - see PX4/PX4-Devguide#724

@bkueng Do we need a deprecated / use instead flag in the markup?

Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

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

For now I'd like to avoid adding a deprecated flag, though at some point we might need it.
I wanted to remove the param right after the 1.9 release anyway, as it will free up some flash.

@@ -111,8 +111,8 @@ PARAM_DEFINE_INT32(SYS_MC_EST_GROUP, 2);
/**
* TELEM2 as companion computer link (deprecated)
*
* This parameter is deprecated. Do not change it, use the more generic serial
* configuration parameters instead.
* This parameter is deprecated (from PX4 v1.8.1). Use the generic serial
Copy link
Member

Choose a reason for hiding this comment

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

v1.8.1 does not include the new ones yet, only the next release will (v1.9).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. From a docs point of view then we could either ignore this OR modify slightly to:

* This parameter is deprecated and will be removed in 1.9.0. Use the generic serial
* configuration parameters instead (e.g. MAV_0_CONFIG, MAV_0_MODE, etc.).

Copy link
Member

Choose a reason for hiding this comment

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

Right, we can update to will be removed after 1.9.0 (in would mean to me that it's already removed with 1.9.0).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done (and yes, you're right about the use of "in vs. after"). Squash and merge at will!

@dagar dagar merged commit 87993e7 into master Feb 5, 2019
@dagar dagar deleted the hamishwillee-sys_comp_deprecate branch February 5, 2019 15:16
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.

3 participants