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 GitHub Ben Meadors code8buster
parent 541291cc70
commit 5995c7060d
6 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ extends = esp32_base
board = heltec_wifi_lora_32_V2
board_level = extra
build_flags =
${esp32_base.build_flags} -D HELTEC_V2_1 -I variants/heltec_v2.1
${esp32_base.build_flags} -D HELTEC_V2_1 -I variants/heltec_v2.1
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
+2
View File
@@ -8,6 +8,8 @@
#define GPS_RX_PIN 36
#define GPS_TX_PIN 33
#define PIN_GPS_EN 37 // GPS power enable pin
#ifndef USE_JTAG // gpio15 is TDO for JTAG, so no I2C on this board while doing jtag
#define I2C_SDA 4 // I2C pins for this board
#define I2C_SCL 15