attaky_mesh_series: board fixes - crystal clock, GPS acquisition, sensor addresses

This commit is contained in:
Attaky committed 2026-07-21 11:32:12 -07:00
1 parent b1b689c48f
commit b1ad449147
2 files changed
+19 -4

No files matched your search

+6
View File
@@ -710,8 +710,14 @@ void setup() {
// hit the overflow) still get the big ring; default GPS-off keeps the stock 256 B. A user
// who enables GPS mid-session picks it up on the next reboot (gps_enabled is persisted).
{
#if defined(ATTAKY_MESH_SERIES)
// This fixed stack always carries the GPS, so take the larger RX ring
// unconditionally; the default 256 B ring gives the slowest first fix.
Serial1.setRxBufferSize(4096);
#else
auto* np = the_mesh.getNodePrefs();
if (np && np->gps_enabled) Serial1.setRxBufferSize(4096);
#endif
}
#endif
sensors.begin();