Merge pull request #1583 from tschundler/fixdef

Respect GPS pins set in variant.h
This commit is contained in:
Thomas Göttgens 2022-08-01 08:54:28 +02:00 committed by GitHub
commit 785c2b32da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,12 +77,16 @@
//
#define GPS_SERIAL_NUM 1
#ifndef GPS_RX_PIN
#define GPS_RX_PIN 34
#endif
#ifndef GPS_TX_PIN
#ifdef USE_JTAG
#define GPS_TX_PIN -1
#else
#define GPS_TX_PIN 12
#endif
#endif
// -----------------------------------------------------------------------------
// LoRa SPI