Skip to content

Commit 0679b1b

Browse files
committed
make sure Feed get() method is using get topic
1 parent 4bb7395 commit 0679b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AdafruitIO_Feed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ bool AdafruitIO_Feed::get()
119119
strcat(_get_topic, name);
120120
strcat(_get_topic, "/csv/get");
121121

122-
_get_pub = new Adafruit_MQTT_Publish(_io->_mqtt, _topic);
122+
_get_pub = new Adafruit_MQTT_Publish(_io->_mqtt, _get_topic);
123123
}
124124

125125
return _get_pub->publish('\0');

0 commit comments

Comments
 (0)