mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Reduced size by 16 bytes by inlining indent() and unindent()
This commit is contained in:
@@ -8,18 +8,6 @@
|
||||
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
void IndentedPrint::indent() {
|
||||
if (level < MAX_LEVEL) level++;
|
||||
}
|
||||
|
||||
void IndentedPrint::unindent() {
|
||||
if (level > 0) level--;
|
||||
}
|
||||
|
||||
void IndentedPrint::setTabSize(uint8_t n) {
|
||||
if (n < MAX_TAB_SIZE) tabSize = n & MAX_TAB_SIZE;
|
||||
}
|
||||
|
||||
size_t IndentedPrint::write(uint8_t c) {
|
||||
size_t n = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user