diff --git a/.vscode/extensions.json b/.vscode/extensions.json index e80666b..080e70d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,5 +3,8 @@ // for the documentation about the extensions.json format "recommendations": [ "platformio.platformio-ide" + ], + "unwantedRecommendations": [ + "ms-vscode.cpptools-extension-pack" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 88081bc..1c12f31 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,6 @@ "files.associations": { "functional": "cpp", "random": "cpp" - } + }, + "cmake.configureOnOpen": false } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 81b90da..45b9c7f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -417,6 +417,7 @@ boolean refreshToken() { state = SMODEPOLLPRESENCE; } else { DBG_PRINTLN(F("refreshToken() - Error:")); + Serial.println(responseDoc.as()); // Set retry after timeout tsPolling = millis() + (DEFAULT_ERROR_RETRY_INTERVAL * 1000); }