AVR 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 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-01-09 | arcanum | Status | None | Fixed | |
Percent Complete | 0% | 100% | |||
Open/Closed | Open | Closed | |||
2008-01-09 | arcanum | Severity | 3 - Normal | 5 - Blocker | |
Priority | 5 - Normal | 7 - High | |||
Assigned to | None | arcanum |
Powered by Savane 3.13-f8d8.
Corresponding source code
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 */