avr-libc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-commit] [2494] patch #8810: Fix LFUSE_DEFAULT for tiny24a/44a


From: Pitchumani
Subject: [avr-libc-commit] [2494] patch #8810: Fix LFUSE_DEFAULT for tiny24a/44a
Date: Thu, 26 Nov 2015 08:08:46 +0000

Revision: 2494
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2494
Author:   pitchumani
Date:     2015-11-26 08:08:43 +0000 (Thu, 26 Nov 2015)
Log Message:
-----------
patch #8810: Fix LFUSE_DEFAULT for tiny24a/44a

Ticket Links:
------------
    http://savannah.gnu.org/patch/?8810

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/NEWS
    trunk/avr-libc/include/avr/iotn24a.h
    trunk/avr-libc/include/avr/iotn44a.h

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2015-10-27 09:19:21 UTC (rev 2493)
+++ trunk/avr-libc/ChangeLog    2015-11-26 08:08:43 UTC (rev 2494)
@@ -1,3 +1,10 @@
+2015-11-26  Morten Engelhardt Olsen <address@hidden>
+
+       patch #8810: Fix LFUSE_DEFAULT for tiny24a/44a
+       * inclue/avr/iotn24a.h: Add missing FUSE_CKSEL3 to LFUSE_DEFAULT
+       definition.
+       * include/avr/iotn44a.h: Likewise.
+
 2015-10-07  Mike Rice <address@hidden>
        bug #36303: Wrong hour for EU Summertime
        * include/util/eu_dst.h: Corrected hour to 2 AM UTC

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2015-10-27 09:19:21 UTC (rev 2493)
+++ trunk/avr-libc/NEWS 2015-11-26 08:08:43 UTC (rev 2494)
@@ -42,6 +42,7 @@
   [#8731] Header file for atmega644a
   [#8728] Use __extension__ with long long
   [#8556] Fix atexit.c
+  [#8810] Fix LFUSE_DEFAULT for tiny24a/44a
 
 * Other changes:
 

Modified: trunk/avr-libc/include/avr/iotn24a.h
===================================================================
--- trunk/avr-libc/include/avr/iotn24a.h        2015-10-27 09:19:21 UTC (rev 
2493)
+++ trunk/avr-libc/include/avr/iotn24a.h        2015-11-26 08:08:43 UTC (rev 
2494)
@@ -613,7 +613,7 @@
 #define FUSE_SUT1  (unsigned char)~_BV(5)  /* Select start-up time */
 #define FUSE_CKOUT  (unsigned char)~_BV(6)  /* Clock Output Enable */
 #define FUSE_CKDIV8  (unsigned char)~_BV(7)  /* Divide clock by 8 */
-#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_SUT0 & FUSE_CKDIV8)
+#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & 
FUSE_CKDIV8)
 
 /* High Fuse Byte */
 #define FUSE_BODLEVEL0  (unsigned char)~_BV(0)  /* Brown-out Detector trigger 
level */

Modified: trunk/avr-libc/include/avr/iotn44a.h
===================================================================
--- trunk/avr-libc/include/avr/iotn44a.h        2015-10-27 09:19:21 UTC (rev 
2493)
+++ trunk/avr-libc/include/avr/iotn44a.h        2015-11-26 08:08:43 UTC (rev 
2494)
@@ -611,7 +611,7 @@
 #define FUSE_SUT1  (unsigned char)~_BV(5)  /* Select start-up time */
 #define FUSE_CKOUT  (unsigned char)~_BV(6)  /* Clock Output Enable */
 #define FUSE_CKDIV8  (unsigned char)~_BV(7)  /* Divide clock by 8 */
-#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_SUT0 & FUSE_CKDIV8)
+#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & 
FUSE_CKDIV8)
 
 /* High Fuse Byte */
 #define FUSE_BODLEVEL0  (unsigned char)~_BV(0)  /* Brown-out Detector trigger 
level */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]