Skip to content

Commit 3406789

Browse files
committed
use publish("\0") instead of publish('\0') to avoid "overloaded 'publish(unsigned int)' is ambiguous" error on certain architectures
via https://forums.adafruit.com/viewtopic.php?f=56&t=134943
1 parent cd25353 commit 3406789

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AdafruitIO_Feed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ bool AdafruitIO_Feed::get()
125125
_get_pub = new Adafruit_MQTT_Publish(_io->_mqtt, _get_topic);
126126
}
127127

128-
return _get_pub->publish('\0');
128+
return _get_pub->publish("\0");
129129
}
130130

131131
bool AdafruitIO_Feed::exists()

0 commit comments

Comments
 (0)