Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PHASE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PHASE
Commits
548a3672
Commit
548a3672
authored
Apr 11, 2011
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for stuff that has broken in the past.
parent
788faf2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lm32-drom.cpp
src/components/lm32/lm32-drom.cpp
+4
-1
No files found.
src/components/lm32/lm32-drom.cpp
View file @
548a3672
...
...
@@ -108,8 +108,11 @@ void LM32DROM::recv(RecvQueue::const_iterator i, RecvQueue::const_iterator end)
case
LOAD_REGS
:
{
int
pulled
=
(
RW_regs
+
R_regs
)
*
4
;
old
[
0
]
=
old
[
1
]
=
old
[
2
]
=
old
[
3
]
=
0
;
/* R0 */
for
(
int
j
=
4
;
j
<
pulled
;
++
i
,
++
j
)
/* Skip R0 */
for
(
int
j
=
4
;
j
<
pulled
;
++
i
,
++
j
)
/* Skip R0 */
{
assert
(
i
!=
end
);
assert
(
i
->
slave
==
&
uart_read
);
old
[
j
]
=
static_cast
<
uint8_t
>
(
i
->
bits
);
}
--
i
;
memcpy
(
now
,
old
,
pulled
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment