* tda10023.c: misplaced parentheses?
@ 2010-02-23 11:01 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-02-23 11:01 UTC (permalink / raw)
To: Mauro Carvalho Chehab, e9hack, linux-media
In tda10023_read_signal_strength() we have:
u16 gain = ((255-tda10023_readreg(state, 0x17))) + (255-ifgain)/16;
-------------------------------------------------------^
The closing parenthesis appears misplaced, should this be:
u16 gain = ((255-tda10023_readreg(state, 0x17)) + (255-ifgain))/ 16;
----------------------------------------------------------------------^
Or are the double parentheses just unnecessary?
Roel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-23 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-23 11:01 tda10023.c: misplaced parentheses? Roel Kluin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.