nekromant / antares

antares uC buildsystem
211 stars 31 forks source link

msp430 delaylib #endif #36

Closed nebulous closed 11 years ago

nebulous commented 11 years ago

It looks like perhaps there's an #endif out of order at the bottom of msp430/delaylib.c

Here's the diff that patched it for me:

diff --git a/src/lib/msp430/delaylib.c b/src/lib/msp430/delaylib.c
index 0972c3b..a91dce4 100644
--- a/src/lib/msp430/delaylib.c
+++ b/src/lib/msp430/delaylib.c
@@ -56,9 +56,9 @@ void delaylib_print_summary()
        printf("delaylib: cycles_per_s %lu cycles_per_ms %lu cycles_per_us %lu\n",
               CYCLES_PER_S, CYCLES_PER_MS, CYCLES_PER_US);
 #endif
+}
 #endif
-}
nekromant commented 11 years ago

Thanks! I have fixed that in master.