Work around mqtt_esp8266 example compile failure on Arduino 1.6.6

This commit is contained in:
Tony DiCola 2015-11-20 20:52:49 -08:00
parent 0f2fd58345
commit 936c6b25e1
2 changed files with 5 additions and 1 deletions

View File

@ -57,6 +57,10 @@ Adafruit_MQTT_Subscribe onoffbutton = Adafruit_MQTT_Subscribe(&mqtt, ONOFF_FEED)
/*************************** Sketch Code ************************************/
// Bug workaround for Arduino 1.6.6, it seems to need a function declaration
// for some reason (only affects ESP8266, likely an arduino-builder bug).
void MQTT_connect();
void setup() {
Serial.begin(115200);
delay(10);

View File

@ -1,5 +1,5 @@
name=Adafruit MQTT Library
version=0.12.0
version=0.12.1
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=MQTT library that supports the CC3000, FONA, ESP8266, Yun, and generic Arduino Client hardware.