X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fusci%2FMsp430UartA0C.nc;h=bbdf8a45877f44598c414ba4951b8ba9722dc7fb;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=39b2e43b8ade314c4ec4757167aa3ecaca3fde16;hpb=b054fbe2a8deacc35f0067deb15274da53d96984;p=tinyos-2.x.git diff --git a/tos/chips/msp430/usci/Msp430UartA0C.nc b/tos/chips/msp430/usci/Msp430UartA0C.nc index 39b2e43b..bbdf8a45 100644 --- a/tos/chips/msp430/usci/Msp430UartA0C.nc +++ b/tos/chips/msp430/usci/Msp430UartA0C.nc @@ -26,14 +26,14 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - + /** * This configuration provides the interface for using USCI_A0 in its UART * mode. * - * @author R. Steve McKown + * @author R. Steve McKown */ - + #if !defined(__MSP430_HAS_USCI_AB0__) #error "Target does not have a USCI_A0 peripheral (UART)" #endif @@ -48,7 +48,7 @@ generic configuration Msp430UartA0C() { interface UartByte; interface ArbiterInfo; /* ??? */ } - uses interface Msp430UsciUartConfigure; /* would be nice to use Msp430UartConfigure, same as USART analog */ + uses interface AsyncConfigure as Configure; } implementation { enum { @@ -58,7 +58,7 @@ implementation { components new Msp430UartP() as UartP; UartStream = UartP; UartByte = UartP; - Msp430UsciUartConfigure = UartP; + Configure = UartP; components Msp430UsciA0C as UsciC; Resource = UsciC.Resource[CLIENT_ID];