diff options
Diffstat (limited to 'firmware/src')
-rw-r--r-- | firmware/src/p2m.c | 10 |
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;
}
|