fixed up and functional
removed unnecessary "}", and removed getFreeRam() which was dependent on "utility/debug.h"
This commit is contained in:
parent
478e2324d5
commit
4ccf81e923
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user