]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/usci/Msp430UartP.nc
The msp430 now has two basic clock peripherals. Add tos/chips/msp430/clock and
[tinyos-2.x.git] / tos / chips / msp430 / usci / Msp430UartP.nc
index 49dc1f1bac92445a9579b14ba43c63fa796e8c91..ce31d9ce9e4c83b1aedf7c6471851e83a7232a65 100644 (file)
@@ -95,8 +95,8 @@ implementation {
       call Registers.setCtl1(UCSWRST);
 
       /* Configure USCI registers */
-      call Registers.assignCtl0(config->ctl0);
-      call Registers.assignCtl1(config->ctl1|UCSWRST);
+      call Registers.assignCtl0(config->ctl0 & ~UCSYNC);
+      call Registers.assignCtl1(config->ctl1 | UCSWRST);
       call Registers.assignBr0(config->brx & 0xff);
       call Registers.assignBr1(config->brx >> 8);
       call Registers.assignMctl(config->mctl);