mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Minor change
This commit is contained in:
		| @@ -29,11 +29,6 @@ namespace ArduinoJson | ||||
|                 items[itemCount++].set(value); | ||||
|             } | ||||
|  | ||||
|             void add(double value) | ||||
|             { | ||||
|                 add<2>(value); | ||||
|             } | ||||
|  | ||||
|             template<int DIGITS> | ||||
|             void add(double value) | ||||
|             { | ||||
|   | ||||
| @@ -42,11 +42,6 @@ namespace ArduinoJson | ||||
|                 itemCount++; | ||||
|             } | ||||
|  | ||||
|             void add(const char* key, double value) | ||||
|             { | ||||
|                 add<2>(key, value); | ||||
|             } | ||||
|  | ||||
|             using JsonObjectBase::printTo; | ||||
|  | ||||
|         private: | ||||
|   | ||||
| @@ -47,6 +47,11 @@ namespace ArduinoJson | ||||
|                 content.asString.set(value); | ||||
|             } | ||||
|  | ||||
|             void set(double value) | ||||
|             { | ||||
|                 set<2>(value); | ||||
|             } | ||||
|  | ||||
|             template<int DIGITS> | ||||
|             void set(double value) | ||||
|             { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user