Skip to content

Commit 07c7863

Browse files
author
Dominggus Salampessy
committed
fix for external client only scenario
1 parent 7b6909a commit 07c7863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESP_Google_Sheet_Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void GSheetClass::auth(const char *client_email, const char *project_id, const c
6868
#endif
6969
}
7070

71-
#if defined(ESP32) || defined(ESP8266)
71+
#if defined(ESP_GOOGLE_SHEET_CLIENT_WIFI_IS_AVAILABLE)
7272
config.internal.reconnect_wifi = WiFi.getAutoReconnect();
7373
#endif
7474
config.signer.tokens.token_type = token_type_oauth2_access_token;

0 commit comments

Comments
 (0)