From 5e72d42ede88020835f177952cfa41a4c0758107 Mon Sep 17 00:00:00 2001 From: mikecarper Date: Tue, 27 Oct 2026 11:50:22 -0700 Subject: [PATCH] Resolve shared MQTT memory policy in PlatformIO library builds --- lib/PsychicMqttClient/src/PsychicMqttClient.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/PsychicMqttClient/src/PsychicMqttClient.cpp b/lib/PsychicMqttClient/src/PsychicMqttClient.cpp index f5ea57b9b..2b493bf56 100644 --- a/lib/PsychicMqttClient/src/PsychicMqttClient.cpp +++ b/lib/PsychicMqttClient/src/PsychicMqttClient.cpp @@ -5,7 +5,9 @@ #include #if defined(BOARD_HAS_PSRAM) #include -#include +// This vendored adapter shares the firmware's internal-memory reserve. PIO +// library builds do not inherit the application's src include path. +#include "../../../src/helpers/MQTTConnectionAdmission.h" #endif static const char *TAG = "[OCTOPUS]";