diff --git a/Template Project/lib/ESPMegaPRO/DigitalOutputIoT.cpp b/Template Project/lib/ESPMegaPRO/DigitalOutputIoT.cpp index 568f928..90574d0 100644 --- a/Template Project/lib/ESPMegaPRO/DigitalOutputIoT.cpp +++ b/Template Project/lib/ESPMegaPRO/DigitalOutputIoT.cpp @@ -174,7 +174,7 @@ uint8_t DigitalOutputIoT::getType() { void DigitalOutputIoT::subscribe() { Serial.println("Subscribing to digital output topics"); - char topic[10]; + char topic[20]; Serial.println("Subscribe to all set state topics"); // Subscribe to all set state topics for(int i = 1; i <= 16; i++) { diff --git a/Template Project/lib/ESPMegaPRO/ESPMegaIoT.cpp b/Template Project/lib/ESPMegaPRO/ESPMegaIoT.cpp index 4a77bff..ebc5eb9 100644 --- a/Template Project/lib/ESPMegaPRO/ESPMegaIoT.cpp +++ b/Template Project/lib/ESPMegaPRO/ESPMegaIoT.cpp @@ -95,7 +95,7 @@ void ESPMegaIoT::registerCard(uint8_t card_id) if (mqtt_connected) { components[card_id]->subscribe(); - Serial.pritnln("Back to register card"); + Serial.println("Back to register card"); } break; default: