#3344 closed defect (fixed)

mcf5272/mcf5272.h Timer3 Duplicate Definition

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 5.1
Component: arch/m68k Version: 5
Severity: normal Keywords:
Cc: Blocked By:


This .h file uses the same macro names for two blocks of INT macros. My assumption given that the second looks to be a different INT, is that it should not be INT3 again but INT3.

--- a/bsps/m68k/include/mcf5272/mcf5272.h
+++ b/bsps/m68k/include/mcf5272/mcf5272.h
@@ -88,9 +88,9 @@

#define MCF5272_ICR1_INT3_PI (bit(23))
#define MCF5272_ICR1_INT3_IPL(x) ((x) << 20)
#define MCF5272_ICR1_INT3_MASK ((7) << 20)

-#define MCF5272_ICR1_INT3_PI (bit(19))
-#define MCF5272_ICR1_INT3_IPL(x) ((x) << 16)
-#define MCF5272_ICR1_INT3_MASK ((7) << 16)
+#define MCF5272_ICR1_INT4_PI (bit(19))
+#define MCF5272_ICR1_INT4_IPL(x) ((x) << 16)
+#define MCF5272_ICR1_INT4_MASK ((7) << 16)

Change History (2)

comment:1 Changed on 03/15/18 at 14:44:32 by Joel Sherrill

Owner: set to Joel Sherrill
Status: newassigned

comment:2 Changed on 03/16/18 at 13:51:04 by Joel Sherrill

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.