[En-Nut-Discussion] Proposal to change baudrate setting method using U2Xn

Henrik Maier hmlists at focus-sw.com
Thu Feb 24 21:54:51 CET 2005


Thanks for the hint Michael,

I will change -1 to -1UL so there are no mixed types.

The __AVR_ENHANCED__ macros will be set for the ICCAVR in the avr.h file 
when _MCU_enhanced is set (see lates version from CVS). This is easier 
rather to test for both __AVR_ENHANCED__ (gcc) and #ifdef _MCU_enhanced 
(ICC) macros.

Henrik

FOCUS Software Engineering Pty Ltd
Brisbane, Australia - Web: www.focus-sw.com
Phone: +61-402 970 933 - Fax: +61-7-3009 0399



Michael Fischer wrote:
> Hello Henrik,
> Hello Harald,
> 
> the source ist not working, you must change something:
> 
> 1. Change #ifdef __AVR_ENHANCED__ to #ifdef _MCU_enhanced
> 
> Now the new source will be used :-)
> 
> 2. Change the last  - 1; to - 1UL;
> 
> And now it works with the ICCAVR 7.00a
> 
> Best regards,
> 
> Michael
> 
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> 
> 
> 



More information about the En-Nut-Discussion mailing list