From dd0296ca6570d2b9fdccbd6b116eb03d9d42eace Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 3 Mar 2015 23:11:45 +0100 Subject: [PATCH] Replaced #if with #elif for MIPSEL --- avrpins.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/avrpins.h b/avrpins.h index d312f9c8..46bcf722 100644 --- a/avrpins.h +++ b/avrpins.h @@ -1010,7 +1010,6 @@ MAKE_PIN(P24, Pin_nRF51822_to_Arduino(D24)); #undef MAKE_PIN - #else #error "Please define board in avrpins.h" @@ -1066,12 +1065,7 @@ MAKE_PIN(P19, 19); // A5 #undef MAKE_PIN -#else -#error "Please define board in avrpins.h" - -#endif - -#if defined(__MIPSEL__) +#elif defined(__MIPSEL__) // MIPSEL (MIPS architecture using a little endian byte order) // MIPS size_t = 4 @@ -1114,6 +1108,10 @@ MAKE_PIN(P12, 12); // MAKE_PIN(P13, 13); // #undef MAKE_PIN + +#else +#error "Please define board in avrpins.h" + #endif #endif //_avrpins_h_