From a0d350c233b18f73eaa4415f8f8b6d529a4e9f85 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 21 Mar 2008 00:03:37 +0000 Subject: [PATCH] Reformat. Add appconfig include. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1209 38d2e660-2303-0410-9eaa-f027e97ec537 --- app/triface/protocol.c | 11 +++++------ mware/parser.c | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) 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 ' ' -- 2.25.1