X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_formatwr.h;h=bac8aca7a75e261781267798dc669bc548e9396b;hb=b9e1e52093d33494bf4a8ca27c14a56a25b6e0bc;hp=bafad70b81aa374640c4382a25f81e5f9e043e8c;hpb=e80b8410edc8e74e94662722194d1cfddbb19ec5;p=bertos.git diff --git a/bertos/cfg/cfg_formatwr.h b/bertos/cfg/cfg_formatwr.h index bafad70b..bac8aca7 100644 --- a/bertos/cfg/cfg_formatwr.h +++ b/bertos/cfg/cfg_formatwr.h @@ -32,8 +32,6 @@ * * \brief Configuration file for formatted write module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -52,6 +50,16 @@ */ #define CONFIG_PRINTF PRINTF_FULL +/** + * Size of buffer to format "%" sequences in printf. + * + * Warning: no check on buffer size is done when formatting, be careful especially + * with big numbers and %f formatting. + * + * $WIZ$ type = "int" + * $WIZ$ min = 4 + */ +#define CONFIG_FRMWRI_BUFSIZE 134 #endif /* CFG_FORMATWR_H */