carl9170 firmware: fix terminator assert
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 23 Dec 2011 00:22:28 +0000 (01:22 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 23 Dec 2011 00:22:28 +0000 (01:22 +0100)
commit34bf5a5839f48f61e794cb141487e53e18d7a5ab
tree599f5e6a74c23298e53bb4bc1b6f53b402b1e982
parent79b25b09dd984ab06f89ce288e4c48672ab31178
carl9170 firmware: fix terminator assert

While calculating the number of assigned
terminator descriptors is easy enough for
an human at "compile" time, gcc isn't that
clever. Therefore the check has to run at
runtime.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/dma.c