[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Check whether two macros are equal to each other
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Check whether two macros are equal to each other |
Date: |
Sun, 3 Jun 2012 21:49:40 +0200 (MET DST) |
Georg-Johann Lay <address@hidden> wrote:
> As I already wrote, the right C-level condition is
>
> if (&LED1_DDR == &LED2_DDR)
>
> You don't want to /read/ from the ports.
Sure, yes. I should have read your previous posting more
thoroughly.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)