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

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

[avr-libc-dev] [bug #21986] Typo in iotn13.h


From: Dick Streefland
Subject: [avr-libc-dev] [bug #21986] Typo in iotn13.h
Date: Wed, 09 Jan 2008 14:35:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070723 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1)

URL:
  <http://savannah.nongnu.org/bugs/?21986>

                 Summary: Typo in iotn13.h
                 Project: AVR C Runtime Library
            Submitted by: dicks
            Submitted on: Wednesday 01/09/2008 at 14:35
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

According to the ATtiny13 datasheet, the external interrupt flag is called
INTF0, and not INF0. Here is a fix:

--- avr-libc-1.6.1/include/avr/iotn13.h.orig    2007-12-12 05:36:56.000000000
+0100
+++ avr-libc-1.6.1/include/avr/iotn13.h 2008-01-09 15:23:41.000000000 +0100
@@ -259,7 +259,7 @@
 
 /* General Interrupt Flag Register */
 #define GIFR                 _SFR_IO8(0x3a)
-#  define INF0                 6
+#  define INTF0                6
 #  define PCIF                 5
 
 /* General Interrupt MaSK register */






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21986>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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