/[avr-libc]/avr-libc/include/avr/wdt.h
ViewVC logotype

Diff of /avr-libc/include/avr/wdt.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by aesok, Tue Oct 25 19:44:25 2005 UTC revision 1.22 by joerg_wunsch, Sun Nov 6 21:27:18 2005 UTC
# Line 153  Line 153 
153  #define wdt_disable() \  #define wdt_disable() \
154  __asm__ __volatile__ (  \  __asm__ __volatile__ (  \
155      "in __tmp_reg__, __SREG__" "\n\t" \      "in __tmp_reg__, __SREG__" "\n\t" \
156        "cli" "\n\t" \
157      "sts %0, %1" "\n\t" \      "sts %0, %1" "\n\t" \
158      "sts %0, __zero_reg__" "\n\t" \      "sts %0, __zero_reg__" "\n\t" \
159      "out __SREG__,__tmp_reg__" "\n\t" \      "out __SREG__,__tmp_reg__" "\n\t" \
# Line 191  __asm__ __volatile__ (  \ Line 192  __asm__ __volatile__ (  \
192  #define wdt_disable() \  #define wdt_disable() \
193  __asm__ __volatile__ (  \  __asm__ __volatile__ (  \
194      "in __tmp_reg__, __SREG__" "\n\t" \      "in __tmp_reg__, __SREG__" "\n\t" \
195         "cli" "\n\t" \
196      "out %0, %1" "\n\t" \      "out %0, %1" "\n\t" \
197      "out %0, __zero_reg__" "\n\t" \      "out %0, __zero_reg__" "\n\t" \
198      "out __SREG__,__tmp_reg__" "\n\t" \      "out __SREG__,__tmp_reg__" "\n\t" \

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26