iicsys / pypmu

pyPMU - Python implementation of the IEEE C37.118 synchrophasor standard
BSD 3-Clause "New" or "Revised" License
62 stars 46 forks source link

CORRECT BIT MASKING FOR INT CONVERSION TO FRACSEC #17

Closed caldweln closed 4 years ago

caldweln commented 4 years ago

The 32bit fracsec is divided into two, 24bits for the count of fraction-of-second, and an 8bit quality flags. This commit corrects a 23bit mask for a 24bit mask.

caldweln commented 4 years ago

@sstevan moving to bugfix branch

I see now this is also resolved in the "udp support" pull request, but I think here it's a cleaner commit