From 493459618b10560ed317dcaa79c09b72ce81197c Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 5 Feb 2024 23:47:53 +0700 Subject: [PATCH] Update RemoteVariable.cpp --- ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/RemoteVariable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/RemoteVariable.cpp b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/RemoteVariable.cpp index e38ea7d..5a320a9 100644 --- a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/RemoteVariable.cpp +++ b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/RemoteVariable.cpp @@ -27,7 +27,7 @@ void RemoteVariable::begin(size_t size, char* topic, ESPMegaIoT* iot) { void RemoteVariable::subscribe() { this->iot->subscribe(this->topic); if(this->useValueRequest) { - this->publish_value_request(); + this->requestValue(); } } char* RemoteVariable::getValue() {