mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-05 06:15:19 +00:00
use integer division to avoid float amplitude
This commit is contained in:
parent
6d7c423b28
commit
808a47fa6d
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class SSTV(object):
|
|||
"""
|
||||
max_value = 2 ** self.bits
|
||||
alias = 1 / max_value
|
||||
amp = max_value / 2
|
||||
amp = max_value // 2
|
||||
lowest = -amp
|
||||
highest = amp - 1
|
||||
chans = range(self.nchannels)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue