summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-10-05 13:51:48 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-10-05 13:51:48 +0200
commit6bbe88125feb5bf32b680fd336af9e5232ca40cc (patch)
treef6b9dce66cc7bb297c0b21aa4a6b4ede69947f01
parente35c5c9eae9ed2f36e008052cba7068b1cd4b6e5 (diff)
symbolize P3SEL init in serial init func
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 19f2091..4a299e9 100644
--- a/main.c
+++ b/main.c
@@ -118,7 +118,7 @@ static void SerialInit(void)
// Configure port for UART access
// Pin 25 as UCA0TXD
// Pin 26 as UCA0RXD
- P3SEL |= 0x30;
+ P3SEL |= MSP_BSL_TXD | MSP_BSL_RXD;
UCA0CTL1_bit.UCSWRST = 0;
}