From: Joe Green <jgreen@mvista.com>
To: Kyle Harris <kharris@nexus-tech.net>,
linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: lcd823.c color macros
Date: Mon, 4 Dec 2000 14:22:21 -0800 [thread overview]
Message-ID: <00120414244202.00900@minotaur.mvista.com> (raw)
In-Reply-To: <3A2BEAB0.3056A043@nexus-tech.net>
On Mon, 04 Dec 2000, Kyle Harris wrote:
> I don't think the following 2 macros (defined in lcd823.c) work for 8
> bit color (bit_code = 3).
>
> #define NBITS(bit_code) (1 << (bit_code))
> #define NCOLORS(bit_code) (1 << NBITS(bit_code))
Maybe I'm being thick here, but doesn't NBITS(3) = 8 and
NCOLORS(3) = 256? What's the problem?
--
Joe Green <jgreen@mvista.com>
MontaVista Software, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-12-04 22:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-04 19:04 lcd823.c color macros Kyle Harris
2000-12-04 22:22 ` Joe Green [this message]
2000-12-04 22:39 ` Kyle Harris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=00120414244202.00900@minotaur.mvista.com \
--to=jgreen@mvista.com \
--cc=kharris@nexus-tech.net \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).