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/flash/test/test-flash.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'digital/avr/modules/flash/test') diff --git a/digital/avr/modules/flash/test/test-flash.c b/digital/avr/modules/flash/test/test-flash.c index bbfcfd6a..99b12df2 100644 --- a/digital/avr/modules/flash/test/test-flash.c +++ b/digital/avr/modules/flash/test/test-flash.c @@ -92,7 +92,11 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args) proto_send1b ('f', status); break; default: - if (cmd == 'w' && size > 4) + if (cmd == 'l') + { + flash_log (size, args); + } + else if (cmd == 'w' && size > 4) { /* Write several bytes: * - 3b: address. -- cgit v1.2.3