Skip to content

Commit

Permalink
Removed trimming, it's not actually wanted.
Browse files Browse the repository at this point in the history
  • Loading branch information
majenkotech committed Jul 1, 2018
1 parent 7d21dc2 commit 9e6a21b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pic32/cores/pic32/WString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@

char *dtostrf(double __val, signed char __width, unsigned char __prec, char *__s) {
snprintf(__s, __width, "%.*f", __prec, __val);

while ((*(__s + strlen(__s)-1) == '0') && (strlen(__s) > 0)) {
*(__s + strlen(__s)-1) = 0;
}

return __s;
}

Expand Down

0 comments on commit 9e6a21b

Please sign in to comment.