diff --git a/lib/Types/ListenProtocols.cpp b/lib/Types/ListenProtocols.cpp index 0daa0f47..950552ef 100644 --- a/lib/Types/ListenProtocols.cpp +++ b/lib/Types/ListenProtocols.cpp @@ -17,7 +17,6 @@ static_assert(size(PROTOCOL_NAMES) == ListenProtocolHelpers::numProtocols(), String ListenProtocolHelpers::nameFromIndex(const uint8_t index) { if (index < numProtocols()) { - printf("Protocol %d is %s", (int)index, PROTOCOL_NAMES[index]); return PROTOCOL_NAMES[index]; } Serial.println(F("ERROR: unknown listen protocol label - this is a bug!")); @@ -28,7 +27,6 @@ uint8_t ListenProtocolHelpers::indexFromName(const String& name) { for (size_t i = 0; i < size(PROTOCOL_NAMES); ++i) { if (name == PROTOCOL_NAMES[i]) { - printf("Protocol %s is %d", name.c_str(), (int)i); return static_cast(i); } }