summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/flash/test/test-flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/flash/test/test-flash.c')
-rw-r--r--digital/avr/modules/flash/test/test-flash.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/digital/avr/modules/flash/test/test-flash.c b/digital/avr/modules/flash/test/test-flash.c
index a504d6c1..461096c3 100644
--- a/digital/avr/modules/flash/test/test-flash.c
+++ b/digital/avr/modules/flash/test/test-flash.c
@@ -86,16 +86,6 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args)
* - 1b: byte. */
flash_write (addr, args[3]);
break;
- case c ('p', 0):
- /* Find the next page to write. */
- addr = flash_first_sector ();
- proto_send3b ('p', addr >> 16, addr >> 8, addr);
- break;
- case c ('c', 3):
- /* Compute the next page. */
- addr = FLASH_PAGE (addr);
- proto_send3b ('c', addr >> 16, addr >> 8, addr);
- break;
default:
if (cmd == 'w' && size > 4)
{