mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-10-23 15:02:32 +00:00
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:
5 files changed
+252
-10
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user