[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Re: can't compile gcctest9
From: |
WAKAME, Nobukazu |
Subject: |
[avr-gcc-list] Re: can't compile gcctest9 |
Date: |
Wed, 05 Mar 2003 20:09:42 +0900 |
Mr."Joerg Wunsch"
WAKAME, mailing from Japan
As "Joerg Wunsch" wrote in
Subject:Re: [avr-gcc-list] can't compile gcctest9
<Wed, 5 Mar 2003 10:29:37 +0100 (MET)>
<address@hidden>
> > Error massage show that "undefined reference to '__inw_atomic' "
>
> It doesn't exist anymore.
>
> http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/group__avr__sfr.html
I changed
#define get_ticks() __inw_atomic(TCNT1)
in "timer.h"
TO
#define get_ticks() _SFR_WORD(TCNT1)
It works !
Thank you.
--
+-------- WAKAME, Nob<address@hidden> -- Motion Control ----+
| Coral Systems Inc. since 1979 |
| JA1FMZ, MoroisoYachtOwnersClub, exJapanMotorGliderClub |
+-------- http://www.CoralSystems.com/ -- (in Japaneese) ----+