From: asterix Date: Wed, 28 Apr 2010 13:11:41 +0000 (+0000) Subject: Update cfg to silent warning. X-Git-Tag: 2.5.0~348 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d57f4313ab2bbeadd26ff38c2f9797e7ba55b627;p=bertos.git Update cfg to silent warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3560 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h b/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h index 13966536..ff929c56 100644 --- a/examples/benchmark/kernel-core_avr/cfg/cfg_formatwr.h +++ b/examples/benchmark/kernel-core_avr/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_NOFLOAT +/** + * 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 */