]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Msp430UartP for usci incorrectly resetting peripheral state when released.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Tue, 10 Mar 2009 00:07:14 +0000 (00:07 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:16 +0000 (20:01 -0700)
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();