mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Replaced #if with #elif for MIPSEL
This commit is contained in:
parent
2dfca7d936
commit
dd0296ca65
1 changed files with 5 additions and 7 deletions
12
avrpins.h
12
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_
|
||||
|
|
Loading…
Reference in a new issue