diff options
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/IPAddress.cpp | 2 | ||||
-rw-r--r-- | cores/arduino/Print.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cores/arduino/IPAddress.cpp b/cores/arduino/IPAddress.cpp index 76aefa8..d9fe5be 100644 --- a/cores/arduino/IPAddress.cpp +++ b/cores/arduino/IPAddress.cpp @@ -45,8 +45,6 @@ IPAddress::IPAddress(const uint8_t *address) bool IPAddress::fromString(const char *address) { - // TODO: add support for "a", "a.b", "a.b.c" formats - uint16_t acc = 0; // Accumulator uint8_t dots = 0; diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index 652fed0..1e4c99a 100644 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -250,7 +250,7 @@ size_t Print::printFloat(double number, uint8_t digits) // Print the decimal point, but only if there are digits beyond if (digits > 0) { - n += print("."); + n += print('.'); } // Extract digits from the remainder one at a time |