X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fformatwr.c;h=996f8df04c5e7562d100f5760a86765cb8c15eb5;hb=505f1c5092e0efa3b63009a7544923751d43f0b3;hp=5b2323d84a87eb432869fa0c48272099ebb799d9;hpb=b0630dd5ed56e5a1713411083aee580cee9b6244;p=bertos.git diff --git a/bertos/mware/formatwr.c b/bertos/mware/formatwr.c index 5b2323d8..996f8df0 100644 --- a/bertos/mware/formatwr.c +++ b/bertos/mware/formatwr.c @@ -106,7 +106,6 @@ /* Maximum precision for floating point values */ typedef long double max_float_t; - #warning FIXME: be sure to fix buffer size below #if CONFIG_FRMWRI_BUFSIZE #define FRMWRI_BUFSIZE CONFIG_FRMWRI_BUFSIZE #else @@ -114,7 +113,7 @@ * space for: sign + all 38 digits + '.' + 6 decimal digits (default) * Use a high value to avoid unexpected buffer overflows. */ - #define FRMWRI_BUFSIZE 100 + #define FRMWRI_BUFSIZE 134 #endif #else #if CONFIG_FRMWRI_BUFSIZE