Skip to content

Commit c98c3de

Browse files
authored
Merge branch 'master' into stk500-jtagice3
2 parents a1ac788 + 9fe56a5 commit c98c3de

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

hardware/arduino/avr/cores/arduino/IPAddress.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ IPAddress::IPAddress(const uint8_t *address)
4545

4646
bool IPAddress::fromString(const char *address)
4747
{
48-
// TODO: add support for "a", "a.b", "a.b.c" formats
49-
5048
uint16_t acc = 0; // Accumulator
5149
uint8_t dots = 0;
5250

hardware/arduino/avr/cores/arduino/Print.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ size_t Print::printFloat(double number, uint8_t digits)
250250

251251
// Print the decimal point, but only if there are digits beyond
252252
if (digits > 0) {
253-
n += print(".");
253+
n += print('.');
254254
}
255255

256256
// Extract digits from the remainder one at a time

0 commit comments

Comments
 (0)