Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181767
b: refs/heads/master
c: 144dcdc
h: refs/heads/master
i:
  181765: 84c9787
  181763: ce91f66
  181759: f6c24e1
v: v3
  • Loading branch information
Tobias Lorenz authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent a3baf11 commit 696a451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2fa21876147005ba942cef1d9e5a5039b4326bd
refs/heads/master: 144dcdceb6ca320d7b3dffa6eea6c0a57cbfbb18
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/si470x/radio-si470x-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ static int si470x_vidioc_g_tuner(struct file *file, void *priv,
tuner->audmode = V4L2_TUNER_MODE_MONO;

/* min is worst, max is best; signal:0..0xffff; rssi: 0..0xff */
/* measured in units of db쨉V in 1 db increments (max at ~75 db쨉V) */
/* measured in units of dbµV in 1 db increments (max at ~75 dbµV) */
tuner->signal = (radio->registers[STATUSRSSI] & STATUSRSSI_RSSI);
/* the ideal factor is 0xffff/75 = 873,8 */
tuner->signal = (tuner->signal * 873) + (8 * tuner->signal / 10);
Expand Down

0 comments on commit 696a451

Please sign in to comment.