Update RemoteVariable.cpp
This commit is contained in:
parent
a3e9bc7be5
commit
493459618b
|
@ -27,7 +27,7 @@ void RemoteVariable::begin(size_t size, char* topic, ESPMegaIoT* iot) {
|
||||||
void RemoteVariable::subscribe() {
|
void RemoteVariable::subscribe() {
|
||||||
this->iot->subscribe(this->topic);
|
this->iot->subscribe(this->topic);
|
||||||
if(this->useValueRequest) {
|
if(this->useValueRequest) {
|
||||||
this->publish_value_request();
|
this->requestValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
char* RemoteVariable::getValue() {
|
char* RemoteVariable::getValue() {
|
||||||
|
|
Loading…
Reference in New Issue