projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f84390
)
sim: mn10300: fix LAST_TIMER_REG typo
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 05:00:49 +0000
(
00:00
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 05:02:18 +0000
(
00:02
-0500)
The compiler pointed out that we're testing LAST_TIMER_REG and
LAST_COUNTER which are the same value ... and that's because we
set LAST_TIMER_REG to the wrong register. Fix the typo.
sim/mn10300/dv-mn103tim.c
patch
|
blob
|
history
diff --git
a/sim/mn10300/dv-mn103tim.c
b/sim/mn10300/dv-mn103tim.c
index
95ebc82
..
b1844a6
100644
(file)
--- a/
sim/mn10300/dv-mn103tim.c
+++ b/
sim/mn10300/dv-mn103tim.c
@@
-86,7
+86,7
@@
enum timer_register_types {
TM6MDB,
TM6CA,
TM6CB,
- LAST_TIMER_REG = TM6
BC
,
+ LAST_TIMER_REG = TM6
CB
,
};