Skip to content

Commit b8636bf

Browse files
committed
Correct comment
1 parent 65b1874 commit b8636bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/Google Cloud Platform IoT Core/GCP_IoT_Core_GSM/GCP_IoT_Core_GSM.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void connectMQTT() {
112112
Serial.println(" ");
113113

114114
while (!mqttClient.connected()) {
115-
// Calculate the JWT and assign it as the username
115+
// Calculate the JWT and assign it as the password
116116
String jwt = calculateJWT();
117117

118118
mqttClient.setUsernamePassword("", jwt);

examples/Google Cloud Platform IoT Core/GCP_IoT_Core_NB/GCP_IoT_Core_NB.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void connectMQTT() {
109109
Serial.println(" ");
110110

111111
while (!mqttClient.connected()) {
112-
// Calculate the JWT and assign it as the username
112+
// Calculate the JWT and assign it as the password
113113
String jwt = calculateJWT();
114114

115115
mqttClient.setUsernamePassword("", jwt);

examples/Google Cloud Platform IoT Core/GCP_IoT_Core_WiFi/GCP_IoT_Core_WiFi.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void connectMQTT() {
106106
Serial.println(" ");
107107

108108
while (!mqttClient.connected()) {
109-
// Calculate the JWT and assign it as the username
109+
// Calculate the JWT and assign it as the password
110110
String jwt = calculateJWT();
111111

112112
mqttClient.setUsernamePassword("", jwt);

0 commit comments

Comments
 (0)