summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/trace/trace.h
diff options
context:
space:
mode:
authorNélio Laranjeiro2009-01-28 23:43:25 +0100
committerNélio Laranjeiro2009-01-28 23:43:25 +0100
commitab2b97c9981345fadbcd2a6e82c84643bc471543 (patch)
tree62f03c19b0bd398e862ab1ddd28e52d619fc3333 /digital/avr/modules/trace/trace.h
parent9e34b0ebedae1c82c24d6e99f068e8bd37eb9e4d (diff)
tal/avr/modules/trace: Implement the correct version of the trace (See #59).
Diffstat (limited to 'digital/avr/modules/trace/trace.h')
-rw-r--r--digital/avr/modules/trace/trace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/digital/avr/modules/trace/trace.h b/digital/avr/modules/trace/trace.h
index 7c3d8d5f..937e49a9 100644
--- a/digital/avr/modules/trace/trace.h
+++ b/digital/avr/modules/trace/trace.h
@@ -84,6 +84,8 @@
else if (sizeof(arg) == sizeof(uint32_t)) trace_print_arg_4(arg);\
}while (0)
+/* Forward declaration. */
+typedef enum trace_status_t trace_status_t;
/** Print an argument of one byte.
* \param arg the one byte argument to print.
@@ -119,7 +121,7 @@ trace_print (uint8_t arg);
/** Get the current status of the trace module.
* \return 0x1 if the module is activate, 0x0 if the module is not active.
*/
-uint8_t
+trace_status_t
trace_status (void);
/** Get the current address.