mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fix invalid conversion error on Particle Argon (closes #1035)
This commit is contained in:
		| @@ -5,6 +5,7 @@ HEAD | |||||||
| ---- | ---- | ||||||
|  |  | ||||||
| * Fixed assignment of `JsonDocument` to `JsonVariant` (issue #1023) | * Fixed assignment of `JsonDocument` to `JsonVariant` (issue #1023) | ||||||
|  | * Fix invalid conversion error on Particle Argon (issue #1035) | ||||||
|  |  | ||||||
| v6.11.1 (2019-06-21) | v6.11.1 (2019-06-21) | ||||||
| ------- | ------- | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ struct ArduinoStreamReader { | |||||||
|  |  | ||||||
|   int read() { |   int read() { | ||||||
|     // don't use _stream.read() as it ignores the timeout |     // don't use _stream.read() as it ignores the timeout | ||||||
|     uint8_t c; |     char c; | ||||||
|     return _stream.readBytes(&c, 1) ? c : -1; |     return _stream.readBytes(&c, 1) ? c : -1; | ||||||
|   } |   } | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user