From 436b7c13b108822978c019471675e81297693874 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Fri, 6 Mar 2009 22:57:52 +0100 Subject: digital/avr/modules/trace: Store known values for the trace. --- digital/avr/modules/trace/test/test_target/flood.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'digital/avr/modules/trace/test') diff --git a/digital/avr/modules/trace/test/test_target/flood.c b/digital/avr/modules/trace/test/test_target/flood.c index 38d5506c..b919d0a6 100644 --- a/digital/avr/modules/trace/test/test_target/flood.c +++ b/digital/avr/modules/trace/test/test_target/flood.c @@ -57,16 +57,16 @@ flood (void) /* A little more than 3 memory sectors, a sector is 4 kbytes. */ for (count = 0; count < 2000; count ++) { - /* Right motor. */ - speed = 1; - position = 2; - acc = 3; - 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); + /* Right motor. */ + speed = 1; + position = 2; + acc = 3; + 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); } /* Print the end of the address. */ -- cgit v1.2.3