Skip to content

Conversation

@georgesleen
Copy link
Contributor

Summary

  • Add wind sensor parsing helpers and a clean print API (WIND_SENSOR__print) to keep main.c minimal.
  • Use fixed‑point typedefs (tenths16_t and aliases) for wind values, since the scale is explicit and
    self‑documenting, avoids mixing raw ints/floats, and keeps decimal precision without extra float overhead.
  • Bonus: add/expand host unit tests and shared test helpers for NMEA/AIS/wind

Very simple unit testing

  • From /firmware : make test
  • Codex helped...

@georgesleen georgesleen changed the base branch from main to wingsail-working-branch January 5, 2026 07:32
@georgesleen georgesleen marked this pull request as draft January 5, 2026 07:42
@georgesleen
Copy link
Contributor Author

Need to test with actual hardware after merge

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.

2 participants