From 665395482e67e3ba6d8f805c4033f35a585c36b2 Mon Sep 17 00:00:00 2001 From: ladyada Date: Tue, 9 Aug 2016 20:15:22 -0400 Subject: [PATCH] https://github.com/adafruit/Adafruit_MQTT_Library/pull/29 --- examples/mqtt_yun/mqtt_yun.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mqtt_yun/mqtt_yun.ino b/examples/mqtt_yun/mqtt_yun.ino index 3831c59..1966629 100644 --- a/examples/mqtt_yun/mqtt_yun.ino +++ b/examples/mqtt_yun/mqtt_yun.ino @@ -18,7 +18,7 @@ ****************************************************/ #include #include -#include +#include #include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" @@ -32,8 +32,8 @@ /************ Global State (you don't need to change this!) ******************/ -// Create a YunClient instance to communicate using the Yun's bridge & Linux OS. -YunClient client; +// Create a BridgeClient instance to communicate using the Yun's bridge & Linux OS. +BridgeClient client; // Setup the MQTT client class by passing in the WiFi client and MQTT server and login details. Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);