summaryrefslogtreecommitdiff
path: root/digital/avr/modules/flash/test/test-flash.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-10-21 13:38:44 +0200
committerNélio Laranjeiro2008-10-21 13:38:44 +0200
commit62dea0dc173ece90867f2aabd0af63c353517bfd (patch)
tree98e88407ff068f896fcfdb054da9cff6fa86a617 /digital/avr/modules/flash/test/test-flash.c
parent7500ab5bbecf67689c5069d2a8ae358b4f75899c (diff)
avr/modules/flash: (see ticket #36)
* Update the defines. * Modified the define for the flash page mask. * Update the sector_next function (Not tested yet).
Diffstat (limited to 'digital/avr/modules/flash/test/test-flash.c')
-rw-r--r--digital/avr/modules/flash/test/test-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/avr/modules/flash/test/test-flash.c b/digital/avr/modules/flash/test/test-flash.c
index aea03e44..5d1ba0f6 100644
--- a/digital/avr/modules/flash/test/test-flash.c
+++ b/digital/avr/modules/flash/test/test-flash.c
@@ -88,7 +88,7 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
break;
case c ('p', 0):
/* Find the next page to write. */
- addr = flash_sector_next ();
+ addr = flash_sector_next (0);
proto_send3b ('p', addr >> 16, addr >> 8, addr);
break;
default: