]> git.pld-linux.org Git - packages/crossavr-libc.git/blobdiff - 302-avr-libc-bug-avrtc-441.patch
- synchronized patches with official AVR toolchain 3.4.1.830
[packages/crossavr-libc.git] / 302-avr-libc-bug-avrtc-441.patch
diff --git a/302-avr-libc-bug-avrtc-441.patch b/302-avr-libc-bug-avrtc-441.patch
new file mode 100644 (file)
index 0000000..1966a33
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naurp include/avr/sleep.h include/avr/sleep.h
+--- include/avr/sleep.h        2012-02-13 19:05:22.000000000 +0530
++++ include/avr/sleep.h        2012-02-13 19:06:38.000000000 +0530
+@@ -206,7 +206,7 @@
+     #define set_sleep_mode(mode) \
+     do { \
+-        _SLEEP_CONTROL_REG = ((_SLEEP_CONTROL_REG & ~__BV(SM)) | (mode)); \
++        _SLEEP_CONTROL_REG = ((_SLEEP_CONTROL_REG & ~_BV(SM)) | (mode)); \
+     } while(0)
+ #elif defined(__AVR_ATtiny167__) \
This page took 0.087371 seconds and 4 git commands to generate.