Skip to content

Commit

Permalink
Remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Nov 23, 2024
1 parent 5493c2f commit 2e6c6a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Types/ListenProtocols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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!"));
Expand All @@ -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<uint8_t>(i);
}
}
Expand Down

0 comments on commit 2e6c6a4

Please sign in to comment.