Use configuration value for formatter bufsize.
[bertos.git] / bertos / cfg / cfg_formatwr.h
index 13966536ba054f850067a5580ae039493014ee1a..ba08654cd790d7e6e3a7e6de13061ec11e0b3f66 100644 (file)
  * \sa PRINTF_NOFLOAT
  * \sa PRINTF_FULL
  */
-#define CONFIG_PRINTF PRINTF_NOFLOAT
+#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 */