Repository navigation
[oscillatord] fix set_rtcm_output to avoid receiver restart - #149
Merged
Merged
Conversation
Contributor
|
CI failure here is unrelated to this PR. ubloxcfg_gen.pl needs |
nbourdau
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix GNSS receiver reset on every restart when RTCM is enabled
When
gnss-rtcm-enabled=true,gnss_set_rtcm_config()persists RTCM message rates to Flash. On next startup,check_gnss_config_in_ram()compares the receiver's current state against the base config which expects RTCM rates = 0. This mismatch triggers a full 571-key reconfiguration + hardware reset every time, causing ~25 minutes of GPS fix loss.Fix: patch the reference config array to include RTCM rates = 1 before comparison when RTCM is enabled, following the same pattern used by
set_cable_delay()andset_preferred_time_scale().Before
After