projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark these test module with warning.
[bertos.git]
/
app
/
triface
/
protocol.c
diff --git
a/app/triface/protocol.c
b/app/triface/protocol.c
index 6a415118cf076d38d0a5ab44ee47ab188482487d..57fefa4c7127440595f2344136a351270d07511d 100644
(file)
--- 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 "protocol.h"
#include "cmd_ctor.h" // MAKE_CMD, REGISTER_CMD
#include "verstag.h"
+#include "hw_adc.h"
+#include "hw_input.h"
#include <drv/timer.h>
#include <drv/ser.h>
#include <drv/timer.h>
#include <drv/ser.h>
@@
-60,14
+62,10
@@
#include <kern/kfile.h>
#include <kern/kfile.h>
-#include "hw_adc.h"
-#include "hw_input.h"
-
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-//#include <cmd_hunk.h>
-
+#include "appconfig.h"
// Define the format string for ADC
#define ADC_FORMAT_STR "dddd"
// 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.
*
/**
* 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)
{
*/
INLINE void NAK(KFile *fd, const char *err)
{