We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17cff2f commit b95045aCopy full SHA for b95045a
Firmware/RTK_Surveyor/menuPP.ino
@@ -278,7 +278,6 @@ bool provisionDevice()
278
}
279
280
//Subscribe to MQTT channel, grab keys, then stop
281
-
282
bool updatePointPerfectKeys()
283
{
284
#ifdef COMPILE_WIFI
@@ -323,6 +322,8 @@ bool updatePointPerfectKeys()
323
322
if (tries++ == maxTries)
324
325
log_d("MQTT failed to connect");
+ free(certificateContents);
326
+ free(keyContents);
327
return (false);
328
329
@@ -969,6 +970,8 @@ void menuPointPerfect()
969
970
971
else
972
updatePointPerfectKeys();
973
+
974
+ wifiStop();
975
976
#endif
977
0 commit comments