Skip to content
Snippets Groups Projects
Commit 94d6f56c authored by Sandeep Mistry's avatar Sandeep Mistry
Browse files

Port arduino/Arduino#4667 to SAMD core

parent 0a35b553
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ size_t Print::printFloat(double number, uint8_t digits)
while (digits-- > 0)
{
remainder *= 10.0;
int toPrint = int(remainder);
unsigned int toPrint = (unsigned int)remainder;
n += print(toPrint);
remainder -= toPrint;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment