Added triple-press GPS toggle button changes for select ESP32 devices (#2617)

* Added triple-press GPS toggle button changes

* Revert edits to extensions.json

* comma'd

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency>
This commit is contained in:
tropho23
2023-07-17 18:55:40 -05:00
committed by GitHub
co-authored by Ben Meadors code8buster
parent 541291cc70
commit 5995c7060d
6 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ board = tlora-t3s3-v1
upload_protocol = esp-builtin
build_flags =
${esp32_base.build_flags} -D TLORA_T3S3_V1 -I variants/tlora_t3s3_v1
${esp32_base.build_flags} -D TLORA_T3S3_V1 -I variants/tlora_t3s3_v1
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
+2
View File
@@ -1,6 +1,8 @@
#undef GPS_RX_PIN
#undef GPS_TX_PIN
#define PIN_GPS_EN 42 // GPS power enable pin
#define HAS_SDCARD
#define SDCARD_USE_SPI1