From: bernie Date: Wed, 21 Jul 2004 00:20:20 +0000 (+0000) Subject: Allow completely disabling printf()-like formatter. X-Git-Tag: 1.0.0~1165 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=cd8d36fe1cc09ef37e85850965bf158ff7b6ae55;p=bertos.git Allow completely disabling printf()-like formatter. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@76 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/mware/formatwr.c b/mware/formatwr.c index d63aa684..f758c2fd 100755 --- a/mware/formatwr.c +++ b/mware/formatwr.c @@ -42,6 +42,9 @@ /* * $Log$ + * Revision 1.4 2004/07/21 00:20:20 bernie + * Allow completely disabling printf()-like formatter. + * * Revision 1.3 2004/07/18 22:00:15 bernie * Reorganize configuration parameters to match DevLib's convention. * @@ -53,6 +56,8 @@ * */ +#ifndef CONFIG_PRINTF_DISABLED + #include "formatwr.h" #include /* progmem macros */ #include /* CONFIG_ macros */ @@ -802,3 +807,5 @@ CONVERSION_LOOP: } #endif /* CONFIG_PRINTF_REDUCED */ } + +#endif /* CONFIG_PRINTF_DISABLED */