fixed up and functional

removed unnecessary "}", and removed getFreeRam() which was dependent on "utility/debug.h"
This commit is contained in:
Alec Moore 2015-10-05 19:47:54 -05:00
parent 478e2324d5
commit 4ccf81e923

View File

@ -74,8 +74,6 @@ void setup() {
Serial.println(F("Adafruit MQTT demo")); Serial.println(F("Adafruit MQTT demo"));
Serial.print(F("Free RAM: ")); Serial.println(getFreeRam(), DEC);
// Initialise the Client // Initialise the Client
Serial.print(F("\nInit the Client...")); Serial.print(F("\nInit the Client..."));
Ethernet.begin(mac); Ethernet.begin(mac);
@ -83,8 +81,6 @@ void setup() {
mqtt.subscribe(&onoffbutton); mqtt.subscribe(&onoffbutton);
}
} }
uint32_t x=0; uint32_t x=0;