X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fmware%2Fformatwr.c;h=3f11522e2c5e8daa63b3fa2156a824d3f7c1383d;hb=73f44b2bb0d5fe6d39ffc894bf13ff063b19237c;hp=0c0e39c7d85ff7a990f5e488c183c8e08327de84;hpb=e5174304054e26cd8f3cd1f9980871c20c07fc46;p=bertos.git diff --git a/bertos/mware/formatwr.c b/bertos/mware/formatwr.c index 0c0e39c7..3f11522e 100644 --- a/bertos/mware/formatwr.c +++ b/bertos/mware/formatwr.c @@ -51,16 +51,16 @@ * \endcode * * Code size on AVR4 with GCC 3.4.1 (-O2): - * PRINTF_FULL 2912byte (0xB60) - * PRINTF_NOFLOAT 1684byte (0x694) - * PRINTF_REDUCED 924byte (0x39C) - * PRINTF_NOMODIFIERS 416byte (0x1A0) + * \li PRINTF_FULL 2912byte (0xB60) + * \li PRINTF_NOFLOAT 1684byte (0x694) + * \li PRINTF_REDUCED 924byte (0x39C) + * \li PRINTF_NOMODIFIERS 416byte (0x1A0) * * Code/data size in words on DSP56K with CodeWarrior 6.0: - * PRINTF_FULL 1493/45 - * PRINTF_NOFLOAT 795/45 - * PRINTF_REDUCED 482/0 - * PRINTF_NOMODIFIERS 301/0 + * \li PRINTF_FULL 1493/45 + * \li PRINTF_NOFLOAT 795/45 + * \li PRINTF_REDUCED 482/0 + * \li PRINTF_NOMODIFIERS 301/0 * * The reduced version of formatter is suitable when program size is critical * rather than formatting power. This routine uses less than 20 bytes of @@ -82,7 +82,7 @@ #include "cfg/cfg_formatwr.h" /* CONFIG_ macros */ #include /* ASSERT */ -#include +#include #include #ifndef CONFIG_PRINTF_N_FORMATTER @@ -108,7 +108,7 @@ /*bernie: save some memory, who cares about floats with lots of decimals? */ #define FRMWRI_BUFSIZE 134 - #warning 134 is too much, the code must be fixed to have a lower precision limit + #warning FIXME:134 is too much, the code must be fixed to have a lower precision limit #else /* * Conservative estimate. Should be (probably) 12 (which is the size necessary