From 489cc7dd887fdcc2105f7f858a3a38544eabe3ed Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Jul 2026 06:08:58 -0500 Subject: [PATCH] Fix develop CI regressions in HopScaling and TLora T3-S3 builds (#10916) * fix: address develop CI regressions * revert TLora T3-S3 partition table changes --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- src/modules/HopScalingModule.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/HopScalingModule.cpp b/src/modules/HopScalingModule.cpp index 217ea6a2d..77269043e 100644 --- a/src/modules/HopScalingModule.cpp +++ b/src/modules/HopScalingModule.cpp @@ -57,7 +57,7 @@ HopScalingModule::HopScalingModule() : concurrency::OSThread("HopScaling") void HopScalingModule::clear() { memset(entries, 0, sizeof(entries)); - count = 0; + this->count = 0; samplingDenominator = DENOM_MIN; filteringDenominator = DENOM_MIN; filteringDenomHoldRollsRemaining = 0; @@ -179,7 +179,7 @@ void HopScalingModule::samplePacketForHistogram(uint32_t nodeId, uint8_t hopCoun entries[count].nodeHash = hash; entries[count].hops_away = hopCount; entries[count].seenHoursAgo = 1u; // mark current hour - count++; + this->count++; } else { LOG_WARN("[HOPSCALE] Histogram full at samp=1/%u (DENOM_MAX=%u); dropping node hash=0x%04x; hop recommendation may be " "skewed!!!", @@ -392,7 +392,7 @@ void HopScalingModule::trimIfNeeded() newCount++; } } - count = newCount; + this->count = newCount; // Step 2: if still too full, double the sampling denominator and remove non-matching entries. if (getFillPercentage() >= FILL_HIGH_PCT && samplingDenominator < DENOM_MAX) {