From 41813460998b22f7ea3ac35ae6f8f9cda3886ac9 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Mon, 13 Jul 2009 15:54:03 +0200 Subject: *tools/trace, digital/avr/modules/flash, digital/avr/modules/trace: * Added the flash host file support for simulator tests. * Removed in the python tool the memory space in double when receiving from the proto object. --- digital/avr/modules/trace/test/test-trace.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'digital/avr/modules/trace') diff --git a/digital/avr/modules/trace/test/test-trace.c b/digital/avr/modules/trace/test/test-trace.c index 7938103b..a4d1b0d4 100644 --- a/digital/avr/modules/trace/test/test-trace.c +++ b/digital/avr/modules/trace/test/test-trace.c @@ -42,6 +42,7 @@ flood (void) uint32_t addr; uint32_t count; + uint16_t id; uint32_t speed; uint32_t position; uint16_t acc; @@ -67,9 +68,12 @@ flood (void) arg1 = 1; arg2 = 2; arg3 = 3; - TRACE (TRACE_ASSERV__RIGHT_MOTOR, speed, position, acc); - TRACE (TRACE_ASSERV__LEFT_MOTOR, speed, position, acc); - TRACE (TRACE_IA__IA_CMD, arg1, arg2, arg3); + id = TRACE_ASSERV__RIGHT_MOTOR; + TRACE (id, speed, position, acc); + id = TRACE_ASSERV__LEFT_MOTOR; + TRACE (id, speed, position, acc); + id = TRACE_IA__IA_CMD; + TRACE (id, arg1, arg2, arg3); } /* Print the end of the address. */ -- cgit v1.2.3