-
Notifications
You must be signed in to change notification settings - Fork 969
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
Don't send me to null island, please #1576
Conversation
🤖 Pull request artifacts
|
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.
looks like a good catch - however there are similar checks all over the GPS code. Our 'Null Island' on T-Echo was not always 0.00/0.00 but 0.something/0.something
src/modules/PositionModule.cpp
Outdated
|
||
sendOurPosition(NODENUM_BROADCAST, requestReplies); | ||
} | ||
} else { | ||
DEBUG_MSG("Channel utilization is >50 percent. Skipping this opportunity to send.\n"); |
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.
Completely unrelated to the PR, why does it say 50% down here when it's 40% up there?
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.
lol, that's a nice misleading typo
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.
Should be 40%
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.
Typo fix made it into the merge :-)
Garth was reporting zeros on non-smart broadcast position packets, but I think that was for mostly for non T-Echo devices. I'm gonna add this guard for now just to be consistent, since we have the same on smart broadcast. |
I haven't seen the specific T-Echo problems since i swapped out the math in TinyGPS. Fingers crossed. Just adding the note to keep your eyes peeled if this is happening again. |
This pull request has been mentioned on Meshtastic. There might be relevant details there: https://meshtastic.discourse.group/t/meshtastic-1-3-29-public-preview/6241/1 |
@garthvh I think this should fix the null island brigade