Fix errors in the new Micropendous board drivers. Reorder the board definition macro indexes so that misspelled board names default to BOARD_USER rather then BOARD_USBKEY.
This commit is contained in:
parent
10a56f6105
commit
3dacb73af3
5 changed files with 47 additions and 37 deletions
|
@ -135,9 +135,9 @@
|
|||
#include "XMEGA/A3BU_XPLAINED/Buttons.h"
|
||||
#elif ((BOARD == BOARD_USB2AX) || (BOARD == BOARD_USB2AX_V3))
|
||||
#include "AVR8/USB2AX/Buttons.h"
|
||||
#elif ((BOARD_MICROPENDOUS_32U2) || (BOARD == BOARD_MICROPENDOUS_A) || \
|
||||
(BOARD == BOARD_MICROPENDOUS_1) || (BOARD == BOARD_MICROPENDOUS_2) || \
|
||||
(BOARD == BOARD_MICROPENDOUS_3) || (BOARD == BOARD_MICROPENDOUS_4) || \
|
||||
#elif ((BOARD == BOARD_MICROPENDOUS_32U2) || (BOARD == BOARD_MICROPENDOUS_A) || \
|
||||
(BOARD == BOARD_MICROPENDOUS_1) || (BOARD == BOARD_MICROPENDOUS_2) || \
|
||||
(BOARD == BOARD_MICROPENDOUS_3) || (BOARD == BOARD_MICROPENDOUS_4) || \
|
||||
(BOARD == BOARD_MICROPENDOUS_DIP))
|
||||
#include "AVR8/MICROPENDOUS/Buttons.h"
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue