From 590f34d5399dcd497d6bc1fa4f3722fe1741a5fb Mon Sep 17 00:00:00 2001 From: David Connelly Date: Mon, 4 Mar 2019 11:04:34 -0500 Subject: fix spacing, remove tabs --- software/coreplexip-welcome/coreplexip-welcome.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/software/coreplexip-welcome/coreplexip-welcome.c b/software/coreplexip-welcome/coreplexip-welcome.c index a975b1c..de6f92d 100644 --- a/software/coreplexip-welcome/coreplexip-welcome.c +++ b/software/coreplexip-welcome/coreplexip-welcome.c @@ -48,7 +48,7 @@ void display_banner (void) { void timer_isr (int id, void *data) { - // Disable Timer interrupt + // Disable Timer interrupt metal_interrupt_disable(tmr_intr, tmr_id); // Flag showing we hit timer isr @@ -57,22 +57,22 @@ void timer_isr (int id, void *data) { void wait_for_timer(struct metal_led *which_led) { - // clear global timer isr flag + // clear global timer isr flag timer_isr_flag = 0; - // Turn on desired LED - metal_led_on(which_led); + // Turn on desired LED + metal_led_on(which_led); // Set timer metal_cpu_set_mtimecmp(cpu0, metal_cpu_get_mtime(cpu0) + RTC_FREQ); - // Enable Timer interrupt - metal_interrupt_enable(tmr_intr, tmr_id); + // Enable Timer interrupt + metal_interrupt_enable(tmr_intr, tmr_id); - // wait till timer triggers and isr is hit - while (timer_isr_flag == 0){}; + // wait till timer triggers and isr is hit + while (timer_isr_flag == 0){}; - timer_isr_flag = 0; + timer_isr_flag = 0; // All Off metal_led_off(which_led); -- cgit v1.2.3