From d57f4313ab2bbeadd26ff38c2f9797e7ba55b627 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 28 Apr 2010 13:11:41 +0000 Subject: [PATCH] Update cfg to silent warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3560 38d2e660-2303-0410-9eaa-f027e97ec537 --- .../benchmark/kernel-core_avr/cfg/cfg_formatwr.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 */ -- 2.25.1