[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Compile problem...
From: |
Tvrtko A. Ursulin |
Subject: |
Re: [avr-gcc-list] Compile problem... |
Date: |
Mon, 18 Nov 2002 21:20:43 +0100 |
User-agent: |
KMail/1.4.3 |
> Sorry, but can´t resolve all the symbols here. I can´t see where
> the two rcalls in the function will go to (before fail), but I think
> your
> function i2c_start_transmission(address) return allways TRUE so you go
> allways
> to falls and the rest is "optimized". Please check this function (maybe
Yes, you were right... my stupid mistake!
i2c_start_transmission was a macro:
#define i2c_send_address(adr) \
({ \
uint8_t _ret; \
i2c_start(); \
_ret = i2c_transmit(adr); \
return _ret; \
})
with a bad last line, should only be
_ret; \
})
Thanks!
avr-gcc-list at http://avr1.org