Use configuration value for formatter bufsize.
[bertos.git] / bertos / cfg / cfg_formatwr.h
index bafad70b81aa374640c4382a25f81e5f9e043e8c..ba08654cd790d7e6e3a7e6de13061ec11e0b3f66 100644 (file)
  */
 #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  20
 
 #endif /* CFG_FORMATWR_H */