From 6aa1e0c1992f4c6cdbedaf0eb2fc76fc3af42fe1 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 11 Jul 2013 19:22:56 +0200 Subject: [PATCH] actorlib/spi/DMAWriteController: len -> flen --- migen/actorlib/spi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migen/actorlib/spi.py b/migen/actorlib/spi.py index fdf72c28..9bb4f040 100644 --- a/migen/actorlib/spi.py +++ b/migen/actorlib/spi.py @@ -149,8 +149,8 @@ class DMAReadController(_DMAController): class DMAWriteController(_DMAController): def __init__(self, bus_accessor, *args, **kwargs): - bus_aw = len(bus_accessor.address_data.payload.a) - bus_dw = len(bus_accessor.address_data.payload.d) + bus_aw = flen(bus_accessor.address_data.payload.a) + bus_dw = flen(bus_accessor.address_data.payload.d) _DMAController.__init__(self, bus_accessor, bus_aw, bus_dw, *args, **kwargs) g = DataFlowGraph() -- 2.30.2