From 3827199bced9c823c1a2727309527cf2cab03788 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 5 Mar 2023 17:27:29 +0700 Subject: [PATCH] Fix ESP32 SPIFFS open file read issue. --- library.json | 2 +- library.properties | 2 +- src/ESP_Google_Sheet_Client.cpp | 2 +- src/ESP_Google_Sheet_Client.h | 4 ++-- src/mbfs/MB_FS.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library.json b/library.json index e744be0..43bc52a 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ESP-Google-Sheet-Client", - "version": "1.3.4", + "version": "1.3.5", "keywords": "communication, REST, esp32, esp8266, raspberrypi, arduino", "description": "Arduino Google Sheet REST client library for ESP8266, ESP32 and Raspberry Pi Pico (RP2040). This library allows devices to communicate with Google Sheet API to read, edit and delete the spreadsheets", "repository": { diff --git a/library.properties b/library.properties index 2a74ba5..c82ae65 100644 --- a/library.properties +++ b/library.properties @@ -1,6 +1,6 @@ name=ESP-Google-Sheet-Client -version=1.3.4 +version=1.3.5 author=Mobizt diff --git a/src/ESP_Google_Sheet_Client.cpp b/src/ESP_Google_Sheet_Client.cpp index a6b1c26..30128bd 100644 --- a/src/ESP_Google_Sheet_Client.cpp +++ b/src/ESP_Google_Sheet_Client.cpp @@ -1,5 +1,5 @@ /** - * Google Sheet Client, GS_Google_Sheet_Client.cpp v1.3.4 + * Google Sheet Client, GS_Google_Sheet_Client.cpp v1.3.5 * * This library supports Espressif ESP8266 and ESP32 MCUs * diff --git a/src/ESP_Google_Sheet_Client.h b/src/ESP_Google_Sheet_Client.h index 81f0169..2e9e457 100644 --- a/src/ESP_Google_Sheet_Client.h +++ b/src/ESP_Google_Sheet_Client.h @@ -1,9 +1,9 @@ #ifndef ESP_GOOGLE_SHEET_CLIENT_VERSION -#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.3.4" +#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.3.5" #endif /** - * Google Sheet Client, ESP_Google_Sheet_Client.h v1.3.4 + * Google Sheet Client, ESP_Google_Sheet_Client.h v1.3.5 * * This library supports Espressif ESP8266 and ESP32 MCUs * diff --git a/src/mbfs/MB_FS.h b/src/mbfs/MB_FS.h index d4282e5..58df1a2 100644 --- a/src/mbfs/MB_FS.h +++ b/src/mbfs/MB_FS.h @@ -42,7 +42,7 @@ #include "SPI.h" #if defined(ESP32) && __has_include() -#if MBFS_FLASH_FS == LittleFS +#ifdef _LITTLEFS_H_ #define MB_FS_USE_POSIX_STAT #include namespace mb_fs_ns