various fixes for nano g2 gps

- baud rate changed to default
- switch state detected at boot to enable position
- small edge cases fixed
- more mesh debugging output added

Co-authored-by: LitBomb <lithangw@hotmail.com>
Co-authored-by: Nick from BOSTON
This commit is contained in:
446564
2025-08-02 15:42:57 -07:00
parent d13dc10bf3
commit 53c1f70412
4 changed files with 48 additions and 42 deletions

View File

@@ -21,6 +21,8 @@
#define BUTTON_PIN PIN_BUTTON1
#define PIN_USER_BTN BUTTON_PIN
// GPS
#define GPS_EN PIN_GPS_STANDBY
// built-ins
#define VBAT_MV_PER_LSB (0.73242188F) // 3.0V ADC range and 12-bit ADC resolution = 3000mV/4096