From: asterix Date: Fri, 21 Mar 2008 00:03:37 +0000 (+0000) Subject: Reformat. Add appconfig include. X-Git-Tag: 1.0.0~43 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a0d350c233b18f73eaa4415f8f8b6d529a4e9f85;p=bertos.git Reformat. Add appconfig include. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1209 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/app/triface/protocol.c b/app/triface/protocol.c index 6a415118..57fefa4c 100644 --- a/app/triface/protocol.c +++ b/app/triface/protocol.c @@ -45,6 +45,8 @@ #include "protocol.h" #include "cmd_ctor.h" // MAKE_CMD, REGISTER_CMD #include "verstag.h" +#include "hw_adc.h" +#include "hw_input.h" #include #include @@ -60,14 +62,10 @@ #include -#include "hw_adc.h" -#include "hw_input.h" - #include #include -//#include - +#include "appconfig.h" // Define the format string for ADC #define ADC_FORMAT_STR "dddd" @@ -91,7 +89,8 @@ uint8_t reg_status_dout; /** * Send a NAK asking the host to send the current message again. * - * \param err human-readable description of the error for debug purposes. + * \a fd kfile handler for serial. + * \a err human-readable description of the error for debug purposes. */ INLINE void NAK(KFile *fd, const char *err) { diff --git a/mware/parser.c b/mware/parser.c index f3677544..cc20b4e6 100644 --- a/mware/parser.c +++ b/mware/parser.c @@ -61,6 +61,8 @@ #include +#include "appconfig.h" + #define ARG_SEP_S " " #define ARG_SEP_C ' '