bugAVR C Runtime Library - Bugs: bug #21986, Typo in iotn13.h

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21986: Typo in iotn13.h

Submitter:  Dick Streefland <dicks>
Submitted:  Wed 09 Jan 2008 02:35:02 PM UTC
   
 
Category:  Header Severity:  5 - Blocker
Priority:  7 - High Item Group:  Header files
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Wed 09 Jan 2008 02:35:02 PM UTC, original submission:  

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 */


Dick Streefland <dicks>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by dicks (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-09 arcanum StatusNone Fixed
        Percent Complete0% 100%
        Open/ClosedOpen Closed
    2008-01-09 arcanum Severity3 - Normal 5 - Blocker
        Priority5 - Normal 7 - High
        Assigned toNone arcanum

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code