From ab7e109e4c1e30c190279cc877601789c62501ca Mon Sep 17 00:00:00 2001 From: acosinwork Date: Thu, 31 May 2018 15:23:32 +0300 Subject: [PATCH] A0 pin number can be changed in the variants (#4778) --- variants/generic/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/variants/generic/common.h b/variants/generic/common.h index d9e862b6a..7b324b16c 100644 --- a/variants/generic/common.h +++ b/variants/generic/common.h @@ -47,7 +47,9 @@ static const uint8_t MOSI = PIN_SPI_MOSI; static const uint8_t MISO = PIN_SPI_MISO; static const uint8_t SCK = PIN_SPI_SCK; +#ifndef PIN_A0 #define PIN_A0 (17) +#endif /* PIN_A0 */ static const uint8_t A0 = PIN_A0;