Merge pull request #169 from Attaky-Module/attaky-mesh-series

attaky_mesh_series: on-screen keyboard via detachable module, POWER button, and board fixes
This commit is contained in:
Kaj authored and GitHub committed 2026-07-22 19:43:04 +02:00
commit 35d0daf203
5 files changed
+252 -10

No files matched your search

+6
View File
@@ -745,8 +745,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();