Skip to content

Commit eee5f30

Browse files
committed
Push print to debug level
1 parent 7a2ae39 commit eee5f30

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Firmware/RTK_Everywhere/HTTP_Client.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,8 @@ void httpClientUpdate()
625625
else if (pointPerfectNtripNeeded() == true)
626626
{
627627
// We received a JSON blob containing NTRIP credentials
628-
// Note: this prints the userName and password, which should probably be kept secret?
629-
// TODO: comment this
630-
systemPrintf("PointPerfect response: %s\r\n", response.c_str());
628+
if (settings.debugPpCertificate || settings.debugHttpClientData)
629+
systemPrintf("PointPerfect response: %s\r\n", response.c_str());
631630

632631
// Check if the JSON blob contains rtcmCredentials
633632
// If this is the first time this device has connected to ThingStream, rtcmCredentials

0 commit comments

Comments
 (0)