Skip to content

Commit

Permalink
Fix SAMD compilation error in Arduino IDE issue #22.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Apr 6, 2024
1 parent c2c80bb commit 6a1c00d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FirebaseClient",
"version": "1.0.9",
"version": "1.0.10",
"keywords": "communication, REST, esp32, esp8266, arduino",
"description": "Async Firebase Client library for Arduino.",
"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=FirebaseClient

version=1.0.9
version=1.0.10

author=Mobizt

Expand Down
4 changes: 2 additions & 2 deletions src/FirebaseClient.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Created April 6, 2024
* Created April 7, 2024
*
* The MIT License (MIT)
* Copyright (c) 2024 K. Suwatchai (Mobizt)
Expand Down Expand Up @@ -30,7 +30,7 @@
#undef FIREBASE_CLIENT_VERSION
#endif

#define FIREBASE_CLIENT_VERSION "1.0.9"
#define FIREBASE_CLIENT_VERSION "1.0.10"

#include <Arduino.h>
#include "./core/FirebaseApp.h"
Expand Down
6 changes: 3 additions & 3 deletions src/core/AsyncResult/Value.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Created March 20, 2024
* Created April 7, 2024
*
* The MIT License (MIT)
* Copyright (c) 2024 K. Suwatchai (Mobizt)
Expand Down Expand Up @@ -152,7 +152,7 @@ struct object_t : public Printable
object_t(const String &o) { buf = o; }
const char *c_str() const { return buf.c_str(); }
template <typename T = const char *>
object_t(T o) { buf = o; }
object_t(T o) { buf = String(o); }
object_t(boolean_t o) { buf = o.c_str(); }
object_t(number_t o) { buf = o.c_str(); }
object_t(string_t o) { buf = o.c_str(); }
Expand Down Expand Up @@ -214,7 +214,7 @@ class ValueConverter
{
buf = "";
if (v_sring<T>::value)
buf = '\"';
buf += '\"';
buf += value;
if (v_sring<T>::value)
buf += '\"';
Expand Down

0 comments on commit 6a1c00d

Please sign in to comment.