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

ubx: add optional spectrum analyzer support (UBX-MON-SPAN) #115

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dagar
Copy link
Member

@dagar dagar commented Oct 25, 2022

No description provided.

src/ubx.h Outdated Show resolved Hide resolved
src/ubx.cpp Outdated Show resolved Hide resolved

for (int i = 0; i < rf_blocks; i++) {
sensor_gnss_spectrum_s gnss_spectrum{};
gnss_spectrum.timestamp_sample = timestamp_sample;
Copy link
Member

Choose a reason for hiding this comment

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

static_assert(sizeof(gnss_spectrum.spectrum) == sizeof(_buf.payload_rx_mon_span.block[0].spectrum), "size mismatch");

Co-authored-by: Beat Küng <beat-kueng@gmx.net>
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.

None yet

2 participants