From 237dcbf524dffd09b36328618181696ed01d4c93 Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Mon, 25 May 2026 10:50:51 +0200 Subject: [PATCH] =?UTF-8?q?feat(ui):=20bump=20TrailStore=20capacity=20256?= =?UTF-8?q?=20=E2=86=92=20512?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 8.5 min of raw 1 s samples (vs 4.25 min) — with the typical 5 m min-delta gate that's ~30 min of walking or ~10 min of cycling worth of points before the ring wraps. Cost is one 16-byte TrailPoint per slot = +4 KB RAM; nRF52840 build was at 64.7 % so ample headroom. Co-Authored-By: Claude Sonnet 4.6 --- examples/companion_radio/Trail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/companion_radio/Trail.h b/examples/companion_radio/Trail.h index dbaddc72..6809625a 100644 --- a/examples/companion_radio/Trail.h +++ b/examples/companion_radio/Trail.h @@ -20,7 +20,7 @@ static const uint8_t TRAIL_FLAG_SEG_START = 0x01; class TrailStore { public: - static const int CAPACITY = 256; + static const int CAPACITY = 512; // Fixed sampling cadence — matches the sensor manager's default GPS update // rate (1 s). Density is controlled by the min-delta gate (settings) rather