Skip to content
Snippets Groups Projects
Commit a1d66382 authored by Patrick Robbe's avatar Patrick Robbe
Browse files

Better formatting

parent 376296e4
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,6 @@ for nev in range( 1 ):
# Display data:
print '==================================='
for i in range( DMASIZE ):
print 'DMA: {0:08x}'.format(data[i])
for i in range( DMASIZE/8 ):
print 'DMA: {0:08x}{1:08x}{2:08x}{3:08x}{4:08x}{5:08x}{6:08x}{7:08x}'.format(data[8*i],data[8*i+1],data[8*i+2],data[8*i+3],data[8*i+4],data[8*i+5],data[8*i+6],data[8*i+7])
print '==================================='
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment