[patch 4/6] jbt6k74: Add QVGA support

Werner Almesberger werner at openmoko.org
Mon Oct 22 11:03:28 CEST 2007


Harald Welte wrote:
> that one won't work since it uses bit-wise or | rather than logical or ||

In ANSI C, the value of a relational expression is 0 or 1, so this
would actually work. I wouldn't consider it good practice, though,
for a number of reasons. Also, those extra parentheses are some
ancient Pascalism ...

Cheers, Werner




More information about the openmoko-kernel mailing list