From 90e4bd792d38d08a63b9e0ef72bf4555731b889f Mon Sep 17 00:00:00 2001 From: henryk Date: Sun, 3 Feb 2008 05:55:05 +0000 Subject: Change order on these two because otherwise unloading while IRQs are still enabled will lead to an IRQ storm git-svn-id: https://svn.openpcd.org:2342/trunk@403 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/ssc_picc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpicc/application') diff --git a/openpicc/application/ssc_picc.c b/openpicc/application/ssc_picc.c index b2fd00b..dd3cb02 100644 --- a/openpicc/application/ssc_picc.c +++ b/openpicc/application/ssc_picc.c @@ -656,8 +656,8 @@ void ssc_rx_stop(void) /* Disable reception */ AT91F_SSC_DisableRx(AT91C_BASE_SSC); AT91F_PDC_DisableRx(rx_pdc); - __ssc_tx_unload_all(NULL, NULL); AT91F_SSC_DisableIt(ssc, SSC_RX_IRQ_MASK); + __ssc_tx_unload_all(NULL, NULL); } void ssc_tx_init(void) -- cgit v1.2.3