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

@@ -34,6 +34,8 @@ void NanoG2Ultra::begin()
pinMode(EXT_NOTIFY_OUT, OUTPUT);
digitalWrite(EXT_NOTIFY_OUT, LOW);
pinMode(GPS_EN, OUTPUT); // Initialize GPS power pin
Wire.begin();
pinMode(SX126X_POWER_EN, OUTPUT);
digitalWrite(SX126X_POWER_EN, HIGH);