]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430UartP.nc
Msp430UartP for usci incorrectly resetting peripheral state when released.
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430UartP.nc
index f998e3cef3a39cc52f137cb631d0e67d400b8b79..4545aab3a0872b24b7eefc7f244126ef663187fb 100644 (file)
@@ -117,7 +117,7 @@ implementation {
   {
     atomic {
       /* Disable the device */
-      call Registers.setCtl1(UCSYNC);
+      call Registers.setCtl1(UCSWRST);
 
       /* Clear interrupts and interrupt flags */
       call Registers.clrIeRx();