forked from bblanchon/ArduinoJson
Changed naming convention to avoid shadowing (issue #25)
This commit is contained in:
1 parent
cc19266470
commit
ce788d96c4
19 files changed
+147
-148
No files matched your search
@@ -9,9 +9,9 @@ using namespace ArduinoJson::Internals;
|
||||
|
||||
size_t StringBuilder::write(uint8_t c)
|
||||
{
|
||||
if (length >= capacity) return 0;
|
||||
if (_length >= _capacity) return 0;
|
||||
|
||||
buffer[length++] = c;
|
||||
buffer[length] = 0;
|
||||
_buffer[_length++] = c;
|
||||
_buffer[_length] = 0;
|
||||
return 1;
|
||||
}
|
||||
Reference in new issue
Block a user