mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 16:14:19 +01:00
Added a line-break after each "if" to get more accurate coverage report
This commit is contained in:
@@ -43,7 +43,8 @@ struct BoundedReader<const __FlashStringHelper*, void> {
|
||||
|
||||
size_t readBytes(char* buffer, size_t length) {
|
||||
size_t available = static_cast<size_t>(_end - _ptr);
|
||||
if (available < length) length = available;
|
||||
if (available < length)
|
||||
length = available;
|
||||
memcpy_P(buffer, _ptr, length);
|
||||
_ptr += length;
|
||||
return length;
|
||||
|
||||
Reference in New Issue
Block a user