sam3n spi: fix interrupt enable/disable logic. Interrupt is enabled only when
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 19 Oct 2010 18:47:22 +0000 (18:47 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 19 Oct 2010 18:47:22 +0000 (18:47 +0000)
commit205956d8852f43814dfa118b890a0952116c6216
tree589e5f9891c33bb20a41164f3f8ffa7ec7ae22a8
parent1980154662799f244ca0e9397ace08cf09e6a3cd
sam3n spi: fix interrupt enable/disable logic.  Interrupt is enabled only when
there are data to send and turned off when interrupt handler find an empty
fifo.  To test in depth.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4441 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/ser_sam3.c