Skip to content

Commit

Permalink
Merge pull request #3768 from Dima73/pull3
Browse files Browse the repository at this point in the history
  • Loading branch information
littlesat committed Sep 6, 2023
2 parents d172ead + 5ec4532 commit 94bce8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/TunerInfo.py
Expand Up @@ -46,7 +46,7 @@ def calc(self, val):
return 0
if val < 2500:
return int(log(val) / log(2))
return val * 100 / 65535
return int(val * 100 // 65535)

def update(self):
if self.type == self.SNR_DB:
Expand Down

0 comments on commit 94bce8f

Please sign in to comment.