SignalK / nmea0183-signalk

NMEA0183 to Signal K parser
Other
30 stars 48 forks source link

fix: ST 0x25 log calculation #249

Closed tkurki closed 11 months ago

tkurki commented 11 months ago

Fix the formula for calculating ST 0x25 datagram total log.

These are equivalent:

- >> 4 and multiply by 65536
- zero out the 8 least significant bits and multiply by 4096

but not both >>4 and multiply by 4096 that it was doing.

Fixes #248.