From 203401d8e656aaf704953288ed5efcd5ca60ffe4 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 19 May 2009 08:52:25 +0200 Subject: digital/asserv, digital/mimot: use new eeprom code --- digital/mimot/src/dirty/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'digital/mimot/src/dirty/main.c') diff --git a/digital/mimot/src/dirty/main.c b/digital/mimot/src/dirty/main.c index ed703945..36688669 100644 --- a/digital/mimot/src/dirty/main.c +++ b/digital/mimot/src/dirty/main.c @@ -439,14 +439,14 @@ proto_callback (uint8_t cmd, uint8_t size, uint8_t *args) break; case c ('P', 1): /* Print current settings. */ - proto_send1b ('E', EEPROM_KEY); + proto_send2b ('E', EEPROM_KEY, eeprom_loaded); proto_send1b ('w', (output_aux[0].reverse ? 1 : 0) | (output_aux[1].reverse ? 2 : 0)); break; case c ('P', 2): /* Print current settings for selected control. * - b: index. */ - proto_send1b ('E', EEPROM_KEY); + proto_send2b ('E', EEPROM_KEY, eeprom_loaded); proto_send1w ('a', speed->acc); proto_send2b ('s', speed->max, speed->slow); proto_send3w ('b', bd->error_limit, bd->speed_limit, -- cgit v1.2.3