summaryrefslogtreecommitdiff
path: root/firmware/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-01 21:02:51 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-01 21:02:51 +0200
commit5a4b6a5e6979fa034d537a803d43c04181a5ade7 (patch)
treebcbbe758c30c55e6b4e5b70faa8cf720f3fb7e34 /firmware/src
parente98d39ba86142ba17b608ebf2f2880940f5621c2 (diff)
Rename LED functions to be more in thread with the rest of the code.
Diffstat (limited to 'firmware/src')
-rw-r--r--firmware/src/p2m.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/src/p2m.c b/firmware/src/p2m.c
index aa5250d..95acc21 100644
--- a/firmware/src/p2m.c
+++ b/firmware/src/p2m.c
@@ -146,7 +146,7 @@ int main (void)
// SystemCoreClockUpdate();
// SystemInit();
- LED_Init();
+ led_init();
uint8_t portnum = 0;
@@ -226,13 +226,13 @@ int main (void)
// Indicate that we didn't crash before the end...
while(1) { // slow blink
- LED_toggle();
+ led_toggle();
_delay(1 << 21);
}
fail:
while(1) { // fast blink
- LED_toggle();
+ led_toggle();
_delay(1 << 17);
}
}
@@ -260,7 +260,7 @@ typedef unsigned char uint8_t;
int main (void)
{
- LED_Init(); // Bent code
+ led_init(); // Bent code
// 3. Initializing
/*
@@ -353,7 +353,7 @@ int main (void)
// Indicate that we didn't crash before the end...
int i = 0;
while(1) {
- LED_toggle();
+ led_toggle();
_delay(1 << 21);
i = 1 - i;
}