From b7f70f5385a9970eee2fc4e3c2d2e4f51b6129be Mon Sep 17 00:00:00 2001 From: acosinwork Date: Thu, 31 May 2018 13:13:14 +0300 Subject: [PATCH] A0 pin number can be changed in the variants --- variants/generic/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/variants/generic/common.h b/variants/generic/common.h index d9e862b6a7..7b324b16cc 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;