summaryrefslogtreecommitdiff
path: root/include/lib/ArduinoJson/Numbers/Float.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/ArduinoJson/Numbers/Float.hpp')
-rw-r--r--include/lib/ArduinoJson/Numbers/Float.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/lib/ArduinoJson/Numbers/Float.hpp b/include/lib/ArduinoJson/Numbers/Float.hpp
new file mode 100644
index 0000000..bbaca04
--- /dev/null
+++ b/include/lib/ArduinoJson/Numbers/Float.hpp
@@ -0,0 +1,17 @@
+// ArduinoJson - https://arduinojson.org
+// Copyright Benoit Blanchon 2014-2021
+// MIT License
+
+#pragma once
+
+#include <ArduinoJson/Configuration.hpp>
+#include <ArduinoJson/Namespace.hpp>
+
+namespace ARDUINOJSON_NAMESPACE {
+
+#if ARDUINOJSON_USE_DOUBLE
+typedef double Float;
+#else
+typedef float Float;
+#endif
+} // namespace ARDUINOJSON_NAMESPACE