Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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-1089
- Loading branch information