mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 14:55:46 +00:00
fix: revert swapped GPS pins
reverted GPS pin behaviour and swapped GPS pins for tbeam variants.
This commit is contained in:
@@ -183,7 +183,7 @@ bool EnvironmentSensorManager::setSettingValue(const char* name, const char* val
|
||||
#if ENV_INCLUDE_GPS
|
||||
void EnvironmentSensorManager::initBasicGPS() {
|
||||
|
||||
Serial1.setPins(PIN_GPS_RX, PIN_GPS_TX);
|
||||
Serial1.setPins(PIN_GPS_TX, PIN_GPS_RX);
|
||||
|
||||
#ifdef GPS_BAUD_RATE
|
||||
Serial1.begin(GPS_BAUD_RATE);
|
||||
|
||||
@@ -16,8 +16,8 @@ build_flags =
|
||||
-D P_LORA_TX_LED=4
|
||||
-D PIN_BOARD_SDA=21
|
||||
-D PIN_BOARD_SCL=22
|
||||
-D PIN_GPS_RX=34
|
||||
-D PIN_GPS_TX=12
|
||||
-D PIN_GPS_RX=12
|
||||
-D PIN_GPS_TX=34
|
||||
-D PIN_USER_BTN=38
|
||||
-D ENV_INCLUDE_GPS=1
|
||||
build_src_filter = ${esp32_base.build_src_filter}
|
||||
|
||||
@@ -13,8 +13,8 @@ build_flags =
|
||||
-D P_LORA_TX_LED=4
|
||||
-D PIN_BOARD_SDA=21
|
||||
-D PIN_BOARD_SCL=22
|
||||
-D PIN_GPS_RX=34
|
||||
-D PIN_GPS_TX=12
|
||||
-D PIN_GPS_RX=12
|
||||
-D PIN_GPS_TX=34
|
||||
-D PIN_USER_BTN=38
|
||||
-D ENV_INCLUDE_GPS=1
|
||||
;-D ENV_INCLUDE_BME680
|
||||
|
||||
@@ -14,8 +14,8 @@ build_flags =
|
||||
-D P_LORA_TX_LED=6
|
||||
-D PIN_BOARD_SDA=17
|
||||
-D PIN_BOARD_SCL=18
|
||||
-D PIN_GPS_RX=9
|
||||
-D PIN_GPS_TX=8
|
||||
-D PIN_GPS_RX=8
|
||||
-D PIN_GPS_TX=9
|
||||
-D PIN_GPS_EN=7
|
||||
-D PIN_USER_BTN=0
|
||||
-D TELEM_BME280_ADDRESS=0x77
|
||||
|
||||
Reference in New Issue
Block a user