Now use uint8_t to store decimal count

This commit is contained in:
Benoit Blanchon
2014-11-03 18:28:24 +01:00
parent 2f8fde6772
commit 04cde11a04
6 changed files with 7 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ class JsonWriter {
void writeString(const char *value);
void writeInteger(long value);
void writeBoolean(bool value);
void writeDouble(double value, int decimals);
void writeDouble(double value, uint8_t decimals);
void writeColon() { _length += _sink->write(':'); }
void writeComma() { _length += _sink->write(','); }