Skip to content

Commit

Permalink
Fix compilation error for SdFat.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Feb 17, 2024
1 parent 51a6625 commit bb60d58
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 mobizt
Copyright (c) 2024 mobizt

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ Thanks for all contributions and Google Open Source.

The MIT License (MIT)

Copyright (c) 2023 K. Suwatchai (Mobizt)
Copyright (c) 2024 K. Suwatchai (Mobizt)


Permission is hereby granted, free of charge, to any person returning a copy of
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Firebase Arduino Client Library for ESP8266 and ESP32",
"version": "4.4.10",
"version": "4.4.11",
"keywords": "communication, REST, esp32, esp8266, arduino",
"description": "The library supports Firebase products e.g. Realtime database, Cloud Firestore database, Firebase Storage and Google Cloud Storage, Cloud Functions for Firebase and Cloud Messaging. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=Firebase Arduino Client Library for ESP8266 and ESP32

version=4.4.10
version=4.4.11

author=Mobizt

Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5938,7 +5938,7 @@ e.g. to<String>(), to<int>(), to<bool>()

The MIT License (MIT)

Copyright (c) 2023 K. Suwatchai (Mobizt)
Copyright (c) 2024 K. Suwatchai (Mobizt)


Permission is hereby granted, free of charge, to any person returning a copy of
Expand Down
4 changes: 2 additions & 2 deletions src/client/FB_TCP_Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ class Firebase_TCP_Client : public Client
if (_client_type == firebase_client_type_external_generic_client &&
(!_network_connection_cb || !_network_status_cb))
rdy = false;
else if (_client_type != firebase_client_type_external_generic_client ||
else if (_client_type != firebase_client_type_external_generic_client &&
_client_type != firebase_client_type_external_gsm_client)
rdy = false;
#else
Expand Down Expand Up @@ -658,7 +658,7 @@ class Firebase_TCP_Client : public Client

size_t write(const uint8_t *data, size_t size)
{

if (!_tcp_client)
return setError(FIREBASE_ERROR_TCP_CLIENT_NOT_INITIALIZED);

Expand Down
4 changes: 2 additions & 2 deletions src/core/Firebase_Client_Version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef FIREBASE_CLIENT_VERSION
#define FIREBASE_CLIENT_VERSION "4.4.10"
#define FIREBASE_CLIENT_VERSION_NUM 40410
#define FIREBASE_CLIENT_VERSION "4.4.11"
#define FIREBASE_CLIENT_VERSION_NUM 40411

#define FIREBASE_CLIENT_VERSION_CHECK(ver) (true)
#endif
8 changes: 4 additions & 4 deletions src/rtdb/FB_RTDB.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

/**
* Google's Firebase Realtime Database class, FB_RTDB.cpp version 2.1.1
* Google's Firebase Realtime Database class, FB_RTDB.cpp version 2.1.2
*
* Created September 13, 2023
* Created February 17, 2024
*
* The MIT License (MIT)
* Copyright (c) 2023 K. Suwatchai (Mobizt)
Expand Down Expand Up @@ -1352,14 +1352,14 @@ uint8_t FB_RTDB::readQueueFileSdFat(FirebaseData *fbdo, MBFS_SD_FILE &file, Queu

while (file.available())
{
Core.ut.FBUtils::idle();
FBUtils::idle();
if (arr.readFrom(file))
{
if (mode == 1)
{
for (size_t i = 0; i < arr.size(); i++)
{
Core.ut.FBUtils::idle();
FBUtils::idle();
arr.get(result, i);
if (result.success)
{
Expand Down
4 changes: 2 additions & 2 deletions src/rtdb/FB_RTDB.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

/**
* Google's Firebase Realtime Database class, FB_RTDB.h version 2.1.1
* Google's Firebase Realtime Database class, FB_RTDB.cpp version 2.1.2
*
* Created September 13, 2023
* Created February 17, 2024
*
* The MIT License (MIT)
* Copyright (c) 2023 K. Suwatchai (Mobizt)
Expand Down

0 comments on commit bb60d58

Please sign in to comment.