Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

actorlib/spi/DMAWriteController: len -> flen

  • Loading branch information...
commit 6aa1e0c1992f4c6cdbedaf0eb2fc76fc3af42fe1 1 parent f5ddd33
Sébastien Bourdeauducq authored July 11, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  migen/actorlib/spi.py
4  migen/actorlib/spi.py
@@ -149,8 +149,8 @@ def __init__(self, bus_accessor, *args, **kwargs):
149 149
 
150 150
 class DMAWriteController(_DMAController):
151 151
 	def __init__(self, bus_accessor, *args, **kwargs):
152  
-		bus_aw = len(bus_accessor.address_data.payload.a)
153  
-		bus_dw = len(bus_accessor.address_data.payload.d)
  152
+		bus_aw = flen(bus_accessor.address_data.payload.a)
  153
+		bus_dw = flen(bus_accessor.address_data.payload.d)
154 154
 		_DMAController.__init__(self, bus_accessor, bus_aw, bus_dw, *args, **kwargs)
155 155
 		
156 156
 		g = DataFlowGraph()

0 notes on commit 6aa1e0c

Please sign in to comment.
Something went wrong with that request. Please try again.