stop explicitly using Serial.print for debug messages

This commit is contained in:
geeksville committed 2020-02-04 08:17:44 -08:00
1 parent 4a40b9499b
commit b04fb061c4
13 files changed
+103 -101

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ MeshService::MeshService()
void MeshService::init()
{
if (!radio.init())
Serial.println("radio init failed");
DEBUG_MSG("radio init failed\n");
}
/// Do idle processing (mostly processing messages which have been queued from the radio)
@@ -73,7 +73,7 @@ void MeshService::handleToRadio(std::string s)
break;
default:
Serial.println("Error: unexpected ToRadio variant");
DEBUG_MSG("Error: unexpected ToRadio variant\n");
break;
}
}