Skip to content

Commit

Permalink
Handling issue iicsys#10
Browse files Browse the repository at this point in the history
Should be written (2**24-1) to get 24-bit number (in binary - "111111111111111111111111").
  • Loading branch information
veljkoDjurkovic committed Jul 28, 2022
1 parent 5ea067a commit 5442f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synchrophasor/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def _int2frasec(frasec_int):
leap_occ = bool(leap_occ)
leap_pen = bool(leap_pen)

fr_seconds = frasec_int & (2**23-1)
fr_seconds = frasec_int & (2**24-1)

return fr_seconds, leap_dir, leap_occ, leap_pen, time_quality

Expand Down

0 comments on commit 5442f97

Please sign in to comment.