Repository navigation
Add GPS Time (0x03), MAVLink parsing for GPS Time, Temp - #3642
Conversation
CapnBry
left a comment
There was a problem hiding this comment.
Nicely done. Just a couple minor semantic changes (need to be made to both new items). I know a lot of our existing code uses syntax similar to your changes but we're slowly trying to get it more standardized and using the same syntax.
- Please put the local parameter declaration all one one line and use the
{}uniform initialization instead of assignment. - Instead of the forced cast of the header, use the union's
hfield which is of the correct type and placement.
|
Since ELRS 4.0.0 Sending GPS time will be added in the future? @CapnBry |
That a good enhancement to the SerialGPS code. Can you open a separate issue and we'll label it "Enhancement". |
EdgeTx support for GPS Time (shows up as Date sensor) added via: EdgeTX/edgetx#7317 allows for automatic RTC adjust.
Screenshot, refer to lines 31, 32:
