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

 
 

bug #21986: Typo in iotn13.h

Submitted by:  Dick Streefland <dicks>
Submitted on:  Wed 09 Jan 2008 02:35:02 PM UTC  
 
Category: HeaderSeverity: 5 - Blocker
Priority: 7 - HighItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jan 2008 04:08:16 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Open/ClosedOpen=>Closed
    Wed 09 Jan 2008 02:50:03 PM UTCarcanumSeverity3 - Normal=>5 - Blocker
      Priority5 - Normal=>7 - High
      Assigned toNone=>arcanum

    Back to the top


    Powered by Savane 3.1-cleanup1