File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
398398 }
399399
400400 DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s subscribing to %s ..." , __FUNCTION__, _dataTopicIn.c_str ());
401- if (!_mqttClient.subscribe (_dataTopicIn, 0 ))
401+ if (!_mqttClient.subscribe (_dataTopicIn))
402402 {
403403 DEBUG_ERROR (" ArduinoIoTCloudTCP::%s could not subscribe to %s" , __FUNCTION__, _dataTopicIn.c_str ());
404404#if !defined(__AVR__)
@@ -411,7 +411,7 @@ ArduinoIoTCloudTCP::State ArduinoIoTCloudTCP::handle_SubscribeMqttTopics()
411411 if (_shadowTopicIn != " " )
412412 {
413413 DEBUG_VERBOSE (" ArduinoIoTCloudTCP::%s subscribing to %s ..." , __FUNCTION__, _shadowTopicIn.c_str ());
414- if (!_mqttClient.subscribe (_shadowTopicIn, 0 ))
414+ if (!_mqttClient.subscribe (_shadowTopicIn))
415415 {
416416 DEBUG_ERROR (" ArduinoIoTCloudTCP::%s could not subscribe to %s" , __FUNCTION__, _shadowTopicIn.c_str ());
417417#if !defined(__AVR__)
You can’t perform that action at this time.
0 commit comments