X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Fprotocol.c;h=c84c429f13a0140f7d80a53e3f2f56012c41bc03;hb=69a9295099c968e9a30255ebfb420e40ad274a13;hp=6a415118cf076d38d0a5ab44ee47ab188482487d;hpb=c46f98c91241a9459c2006235c614d998b7511ba;p=bertos.git diff --git a/app/triface/protocol.c b/app/triface/protocol.c index 6a415118..c84c429f 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/hw_adc.h" +#include "hw/hw_input.h" #include #include @@ -60,15 +62,9 @@ #include -#include "hw_adc.h" -#include "hw_input.h" - #include #include -//#include - - // Define the format string for ADC #define ADC_FORMAT_STR "dddd" @@ -91,7 +87,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) {