]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430SpiP.nc
Resource unconfigure in Msp430SpiP for usci was incorrect.
[tinyos-2.x.git] / 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();