Skip to content

Commit

Permalink
A0 pin number can be changed in the variants (esp8266#4778)
Browse files Browse the repository at this point in the history
  • Loading branch information
acosinwork authored and d-a-v committed May 31, 2018
1 parent 1a9403d commit ab7e109
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions variants/generic/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ab7e109

Please sign in to comment.