Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
b2c66011
Commit
b2c66011
authored
May 18, 2015
by
Yuri Nenakhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Output format fix
parent
a8a73b2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
x393_mcntrl_dmatest.py
py393/x393_mcntrl_dmatest.py
+1
-1
No files found.
py393/x393_mcntrl_dmatest.py
View file @
b2c66011
...
...
@@ -272,7 +272,7 @@ class X393McntrlDmatest(object):
dest
=
random
.
randint
(
0
,
self
.
buffer_size
-
pages
*
self
.
PAGE_SIZE
)
self
.
dmatest_prepare
(
pages
,
source
,
startaddr
,
fullwidth
,
width
,
leftoffset
,
topoffset
,
linemultiplier
)
transfer_str
=
(
str
(
pages
)
+
" pages starting from page "
+
hex
(
int
(
source
))
+
" -> page "
+
hex
(
int
(
dest
)))
hex
(
int
(
source
//
self
.
PAGE_SIZE
))
+
" -> page "
+
hex
(
int
(
dest
//
self
.
PAGE_SIZE
)))
result
=
self
.
dmatest_run
(
pages
,
dest
)
if
(
result
):
print
(
transfer_str
+
" PASSED"
)
...
...
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