-
Notifications
You must be signed in to change notification settings - Fork 1
Add Iono correction #16
Conversation
0c8bc0d to
278ad43
Compare
5903a86 to
a3c20aa
Compare
| /* check if we have a solution, if yes calc iono and tropo correction */ | ||
| if (soln_flag) { | ||
| ionosphere_t i_params; | ||
| ionosphere_t *p_i_params = &i_params; |
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.
I'd just use &i_params directly.
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.
p_i_params is used as a flag and can be set to NULL.
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.
Ah, ok.
|
Minor inline comments. Rebase, update libswiftnav, and merge when ready. |
src/iono.c
Outdated
| #include "iono.h" | ||
| #include "signal.h" | ||
|
|
||
| MUTEX_DECL(iono_mutex); |
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.
static
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.
|
lgtm |
Retargeted from swift-nav/piksi_firmware#686