Commit 416da16
authored
Don't use deprecated functions in sbp impl [AP-1089] (#1397)
# Description
@swift-nav/devinfra
Reimplement `sbp_all_payload_callback_payload` so that it doesn't use
deprecated functions
This function is part of the legacy API and is marked for deprecation.
In its current implementation it calls another function in the legacy
API (`sbp_frame_callback_register`) which is also marked as deprecated.
This will cause a compile time warning from the compiler about the use
of deprecated functions.
There are a few ways to solve it, but since the functions in question
are so simple the quickest and least intrusive way is to simple
duplicate the functionality of `sbp_frame_callback_register` in
`sbp_all_payload_callback_register` and tailor it to cope with the
different parameters.
# API compatibility
Does this change introduce a API compatibility risk?
No
## API compatibility plan
If the above is "Yes", please detail the compatibility (or migration)
plan:
N/A
# JIRA Reference
https://swift-nav.atlassian.net/browse/AP-10891 parent 13f7836 commit 416da16
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
778 | 781 | | |
779 | 782 | | |
780 | 783 | | |
| |||
0 commit comments