File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,15 @@ class AdafruitIO_FONA : public AdafruitIO {
33
33
{
34
34
_serial = new SoftwareSerial (FONA_TX, FONA_RX);
35
35
_fona = new Adafruit_FONA (FONA_RST);
36
- _mqtt = new Adafruit_MQTT_FONA (_fona, _host, _port );
36
+ _mqtt = new Adafruit_MQTT_FONA (_fona, _host, _mqtt_port );
37
37
_packetread_timeout = 500 ;
38
38
}
39
39
40
40
AdafruitIO_FONA (const __FlashStringHelper *user, const __FlashStringHelper *key):AdafruitIO(user, key)
41
41
{
42
42
_serial = new SoftwareSerial (FONA_TX, FONA_RX);
43
43
_fona = new Adafruit_FONA (FONA_RST);
44
- _mqtt = new Adafruit_MQTT_FONA (_fona, _host, _port );
44
+ _mqtt = new Adafruit_MQTT_FONA (_fona, _host, _mqtt_port );
45
45
_packetread_timeout = 500 ;
46
46
}
47
47
@@ -69,7 +69,7 @@ class AdafruitIO_FONA : public AdafruitIO {
69
69
}
70
70
71
71
protected:
72
- uint16_t _port = 1883 ;
72
+ uint16_t _mqtt_port = 1883 ;
73
73
74
74
SoftwareSerial *_serial;
75
75
Adafruit_FONA *_fona;
You can’t perform that action at this time.
0 commit comments