> > Which is why there is the <util/atomic.h> macros. Check out: > > > > ATOMIC_BLOCK( ATOMIC_RESTORESTATE ) > > { > > ... Mangle pointers > > } > > Interesting. Don't recall those being there 3 or 4 years ago > back in the days of avr-gcc 3.3 and 3.4.
Dean Camera (sp?) added them a year or two back. Very useful! Best regards, Stu Bell DataPlay (DPHI, Inc.) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list