summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/flash
diff options
context:
space:
mode:
authorNélio Laranjeiro2009-06-05 16:03:30 +0200
committerNélio Laranjeiro2009-06-05 16:03:30 +0200
commit0e26d777d77e8ffb2b1540d9b6529e739cc2f554 (patch)
tree43ce9ef11f2087268848538f6ba3ced2cc2471a6 /digital/avr/modules/flash
parentf9521f6ea1d2b9ff8735ac11f1dcdefdd5a99e89 (diff)
*digital/avr/modules/flash, digital/avr/modules/trace: (Closes #71)
* Removed proto_send useless calls.
Diffstat (limited to 'digital/avr/modules/flash')
-rw-r--r--digital/avr/modules/flash/flash.avr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/digital/avr/modules/flash/flash.avr.c b/digital/avr/modules/flash/flash.avr.c
index 872b727c..a38f7910 100644
--- a/digital/avr/modules/flash/flash.avr.c
+++ b/digital/avr/modules/flash/flash.avr.c
@@ -121,8 +121,6 @@ flash_init (void)
if (rsp[0] != 0xBF)
return 0;
- proto_send3b ('f',rsp[0], rsp[1], rsp[2]);
-
if (flash_status_aai())
{
flash_send_command (FLASH_WEDI);
@@ -137,9 +135,7 @@ flash_init (void)
AC_FLASH_PORT |= _BV(AC_FLASH_BIT_SS);
/* Read the flash status. */
- proto_send1b ('s', flash_read_status());
-
- return 1;
+ return flash_read_status();
}
/** Write in the flash byte provided in parameter.