Skip to content

Commit 5f057a8

Browse files
committed
require v0.16.0 or higher of mqtt lib
1 parent 2031135 commit 5f057a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo: false
33
before_install:
44
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
55
install:
6-
- arduino --install-library "Adafruit FONA Library,Adafruit CC3000 Library"
6+
- arduino --install-library "Adafruit FONA Library,Adafruit MQTT Library"
77
script:
88
- build_main_platforms
99
notifications:

AdafruitIO.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#include "AdafruitIO_Data.h"
2020

2121
#ifndef ADAFRUIT_MQTT_VERSION_MAJOR
22-
#error "This sketch requires Adafruit MQTT Library v0.15.0 or higher. Please install or upgrade using the Library Manager."
22+
#error "This sketch requires Adafruit MQTT Library v0.16.0 or higher. Please install or upgrade using the Library Manager."
2323
#endif
2424

25-
#if ADAFRUIT_MQTT_VERSION_MAJOR == 0 && ADAFRUIT_MQTT_VERSION_MINOR < 15
26-
#error "This sketch requires Adafruit MQTT Library v0.15.0 or higher. Please install or upgrade using the Library Manager."
25+
#if ADAFRUIT_MQTT_VERSION_MAJOR == 0 && ADAFRUIT_MQTT_VERSION_MINOR < 16
26+
#error "This sketch requires Adafruit MQTT Library v0.16.0 or higher. Please install or upgrade using the Library Manager."
2727
#endif
2828

2929
class AdafruitIO {

0 commit comments

Comments
 (0)