summaryrefslogtreecommitdiff
path: root/software/mpu/heartbeat.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-08-25 20:53:39 +0000
committerChristian Pointner <equinox@mur.at>2013-08-25 20:53:39 +0000
commitea942c8d66d448dd09edf52d936795bbd1293e7c (patch)
tree602e5895dc78939c0ca1408e95146faea33a287c /software/mpu/heartbeat.c
parentcleaned up shell (no double disconnect/connect for usb) (diff)
some compatibility changes
git-svn-id: https://svn.spreadspace.org/mur.sat@839 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/heartbeat.c')
-rw-r--r--software/mpu/heartbeat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/software/mpu/heartbeat.c b/software/mpu/heartbeat.c
index 120fe48..21a3375 100644
--- a/software/mpu/heartbeat.c
+++ b/software/mpu/heartbeat.c
@@ -41,13 +41,13 @@ static msg_t Heartbeat(void *arg)
(void)arg;
chRegSetThreadName("heartbeat");
while (TRUE) {
- palClearPad(LED__PORT, LED__PIN);
+ palClearPad(GPIOA, GPIOA_LED);
chThdSleepMilliseconds(50);
- palSetPad(LED__PORT, LED__PIN);
+ palSetPad(GPIOA, GPIOA_LED);
chThdSleepMilliseconds(50);
- palClearPad(LED__PORT, LED__PIN);
+ palClearPad(GPIOA, GPIOA_LED);
chThdSleepMilliseconds(50);
- palSetPad(LED__PORT, LED__PIN);
+ palSetPad(GPIOA, GPIOA_LED);
chThdSleepMilliseconds(850);
}
}