]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Resource unconfigure in Msp430SpiP for usci was incorrect.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Tue, 10 Mar 2009 00:04:49 +0000 (00:04 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:16 +0000 (20:01 -0700)
tos/chips/msp430/usci/Msp430SpiP.nc

index acd288b8c5758d5c83dc41382e5bd9d509bb181b..84878dd17b75f6b90aa37ceefe808109034b9153 100644 (file)
@@ -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();