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

Fix order of bytes in testB2L_DMA output

parent a1d66382
No related branches found
No related tags found
No related merge requests found
......@@ -33,5 +33,5 @@ for nev in range( 1 ):
# Display data:
print '==================================='
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 'DMA: {7:08x}{6:08x}{5:08x}{4:08x}{3:08x}{2:08x}{1:08x}{0: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