You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-21 18:22:06 +03:00
fixed up and functional
removed unnecessary "}", and removed getFreeRam() which was dependent on "utility/debug.h"
This commit is contained in:
@ -74,8 +74,6 @@ void setup() {
|
||||
|
||||
Serial.println(F("Adafruit MQTT demo"));
|
||||
|
||||
Serial.print(F("Free RAM: ")); Serial.println(getFreeRam(), DEC);
|
||||
|
||||
// Initialise the Client
|
||||
Serial.print(F("\nInit the Client..."));
|
||||
Ethernet.begin(mac);
|
||||
@ -83,8 +81,6 @@ void setup() {
|
||||
|
||||
|
||||
mqtt.subscribe(&onoffbutton);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t x=0;
|
||||
|
Reference in New Issue
Block a user