Skip to content

Commit c6beb0c

Browse files
committed
Fix comments
1 parent ab47fba commit c6beb0c

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
@@ -538,7 +538,6 @@ void httpClientUpdate()
538538
else
539539
{
540540
// Pull out MQTT settings and keys from remaining JSON
541-
542541
if (settings.debugPpCertificate || settings.debugHttpClientData)
543542
systemPrintln("Certificates recorded successfully.");
544543

@@ -550,7 +549,7 @@ void httpClientUpdate()
550549
// Note: from the ZTP documentation:
551550
// ["subscriptions"][0] will contain the key distribution topic
552551
// But, assuming the key distribution topic is always ["subscriptions"][0] is potentially
553-
// brittle It is safer to check the "description" contains "key distribution topic" If we are on
552+
// brittle. It is safer to check the "description" contains "key distribution topic". If we are on
554553
// an IP-only plan, the path will be /pp/ubx/0236/ip If we are on a L-Band-only or L-Band+IP
555554
// plan, the path will be /pp/ubx/0236/Lb These 0236 key distribution topics provide the keys in
556555
// UBX format, ready to be pushed to a ZED. There are also /pp/key/ip and /pp/key/Lb topics
@@ -609,7 +608,7 @@ void httpClientUpdate()
609608
httpClientSetState(HTTP_CLIENT_COMPLETE);
610609
} // Valid certificates
611610
} // End handle keys type response
612-
else if (pointPerfectServiceUsesNtrip() == true)
611+
else if (pointPerfectNtripEnabled() == true)
613612
{
614613
// We received a JSON blob containing NTRIP credentials
615614
systemPrintf("PointPerfect response: %s\r\n", response.c_str());

0 commit comments

Comments
 (0)