Hi,
if i read:
The code fragment,
...
dtostrf(cos_rad,6,3,&line4[14]);
line3[20] = ' ';
line4[20] = ' ';
TRACE_ON(TRACE4); // portb |= _bv(04)
atan_rad = atan2(cos_rad,sin_rad);
TRACE_OFF(TRACE4); // portb &= ~_bv(04)
dtostrf(atan_rad,6,3,&line4[26]);
"portb" it looks like you don´t use the original
avr includes, otherwise it should be "PORTB".
Maybe you don´t declare portb as volatile?
Why someone does not use the standard include?
Alex
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list