From 62dea0dc173ece90867f2aabd0af63c353517bfd Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Tue, 21 Oct 2008 13:38:44 +0200 Subject: 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). --- digital/avr/modules/flash/test/test-flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/avr/modules/flash/test/test-flash.c') 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: -- cgit v1.2.3