altos/stm: use 0xff for dma mutex value for allocated mutexes
authorKeith Packard <keithp@keithp.com>
Wed, 29 Jun 2016 00:12:48 +0000 (17:12 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000 (19:17 -0700)
commit785d2697376ebd20531d22441a60c41bd927b42a
tree5550cf41fc93b6656a67b501cfa42072e1909ad4
parent0dec7d0885970a7d73468dd77220bae78e161b40
altos/stm: use 0xff for dma mutex value for allocated mutexes

DMA channels which are 'allocated' can't be shared. Instead of using
the value '1' in the related 'mutex', use 0xff which won't match any task.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_dma_stm.c