-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Conversation
There was a problem hiding this 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.
src/lib/systemlib/system_params.c
Outdated
@@ -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 |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.).
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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!
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?