summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@avencall.com>2012-08-23 18:11:57 +0200
committerGuillaume Knispel <gknispel@avencall.com>2012-08-23 18:11:57 +0200
commitc14e25b58d8694f0c55a5b2a7a25ca5919fcb273 (patch)
treeb1fa261408f103bf6c185b71b875863386d57e69
parent397c609ffd539aa7518fbfe9c56263b1e063978f (diff)
indent
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index cad8640..e34279d 100644
--- a/main.c
+++ b/main.c
@@ -254,6 +254,7 @@ int main(void)
}
}
+
#pragma vector = TIMERA1_VECTOR
__interrupt void Timer_A(void)
{
@@ -276,6 +277,7 @@ __interrupt void Timer_A(void)
TAVector = TAIV;
}
+
static void InitPorts(void)
{
/* DIR: direction: 0 input 1 output
@@ -309,9 +311,9 @@ static void InitPorts(void)
P4SEL = P4SEL_INIT;
P4DIR = P4DIR_INIT;
P4REN = P4REN_INIT;
-
}
+
static void GlobalInit(void)
{
DCOCTL = CALDCO_12MHZ;