From d1ababfa3532234fdfb7e69808bb20d801c56bbd Mon Sep 17 00:00:00 2001 From: smckown Date: Tue, 10 Mar 2009 00:04:49 +0000 Subject: [PATCH] Resource unconfigure in Msp430SpiP for usci was incorrect. --- tos/chips/msp430/usci/Msp430SpiP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/chips/msp430/usci/Msp430SpiP.nc b/tos/chips/msp430/usci/Msp430SpiP.nc index acd288b8..84878dd1 100644 --- a/tos/chips/msp430/usci/Msp430SpiP.nc +++ b/tos/chips/msp430/usci/Msp430SpiP.nc @@ -137,7 +137,7 @@ implementation { { atomic { /* Disable the device */ - call Registers.setCtl1(UCSYNC); + call Registers.setCtl1(UCSWRST); /* Clear interrupts and interrupt flags. We only used Rx */ call Registers.clrIeRx(); -- 2.39.2