aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/MICROBIT/board.h
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2016-12-09 18:04:38 +0300
committerbarthess <barthess@yandex.ru>2016-12-09 18:04:38 +0300
commit2b9cfccc7657157b95d1d7f2fc079207a3c883c0 (patch)
treee0132be6c9e9b0578b83ed8093807000c19b7c9f /os/hal/boards/MICROBIT/board.h
parent53d3fd07f381f2dac8a39913ebe7062c8076cd30 (diff)
parent3abfddc447d57ac77a20a4f1d7c107c55c512eb3 (diff)
downloadChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.tar.gz
ChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.tar.bz2
ChibiOS-Contrib-2b9cfccc7657157b95d1d7f2fc079207a3c883c0.zip
Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'os/hal/boards/MICROBIT/board.h')
-rw-r--r--os/hal/boards/MICROBIT/board.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/boards/MICROBIT/board.h b/os/hal/boards/MICROBIT/board.h
index 7798634..157bd75 100644
--- a/os/hal/boards/MICROBIT/board.h
+++ b/os/hal/boards/MICROBIT/board.h
@@ -67,9 +67,9 @@
#define IOPORT1_LED_ROW_1 13U
#define IOPORT1_LED_ROW_2 14U
#define IOPORT1_LED_ROW_3 15U
-#define IOPORT1_PAD_1 1U
-#define IOPORT1_PAD_2 2U
-#define IOPORT1_PAD_3 3U
+#define IOPORT1_PAD_0 IOPORT1_P0
+#define IOPORT1_PAD_1 IOPORT1_P1
+#define IOPORT1_PAD_2 IOPORT1_P2
#define IOPORT1_SPI_MOSI 21U
#define IOPORT1_SPI_MISO 22U
#define IOPORT1_SPI_SCK 23U
@@ -119,9 +119,9 @@
#define LINE_LED_ROW_1 PAL_LINE(IOPORT1, IOPORT1_LED_ROW_1)
#define LINE_LED_ROW_2 PAL_LINE(IOPORT1, IOPORT1_LED_ROW_2)
#define LINE_LED_ROW_3 PAL_LINE(IOPORT1, IOPORT1_LED_ROW_3)
+#define LINE_PAD_0 PAL_LINE(IOPORT1, IOPORT1_PAD_0)
#define LINE_PAD_1 PAL_LINE(IOPORT1, IOPORT1_PAD_1)
#define LINE_PAD_2 PAL_LINE(IOPORT1, IOPORT1_PAD_2)
-#define LINE_PAD_3 PAL_LINE(IOPORT1, IOPORT1_PAD_3)
#define LINE_SPI_MOSI PAL_LINE(IOPORT1, IOPORT1_SPI_MOSI)
#define LINE_SPI_MISO PAL_LINE(IOPORT1, IOPORT1_SPI_MISO)
#define LINE_SPI_SCK PAL_LINE(IOPORT1, IOPORT1_SPI_SCK)