summaryrefslogtreecommitdiffhomepage
path: root/digital/asserv/src/asserv/eeprom.avr.c
diff options
context:
space:
mode:
authorNicolas Schodet2008-04-17 23:52:08 +0200
committerNicolas Schodet2008-04-17 23:52:08 +0200
commit6da4d0ba2001dda52ef1ac7917f0e88cec93bebc (patch)
tree12276129dfb8bf31bb4767379a8008be5d5b9724 /digital/asserv/src/asserv/eeprom.avr.c
parent707f39c85ea1f20f436dbcd08f9de51ffa609a03 (diff)
* digital/asserv/src/asserv:
- added goto_angle command. - fixed: should always set pos_cons when use_pos is set.
Diffstat (limited to 'digital/asserv/src/asserv/eeprom.avr.c')
-rw-r--r--digital/asserv/src/asserv/eeprom.avr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/digital/asserv/src/asserv/eeprom.avr.c b/digital/asserv/src/asserv/eeprom.avr.c
index aee320fb..a8c1371e 100644
--- a/digital/asserv/src/asserv/eeprom.avr.c
+++ b/digital/asserv/src/asserv/eeprom.avr.c
@@ -98,6 +98,7 @@ eeprom_read_params (void)
pos_d_sat = eeprom_read_word (p16++);
pos_blocked = eeprom_read_word (p16++);
traj_eps = eeprom_read_word (p16++);
+ traj_aeps = eeprom_read_word (p16++);
}
/* Write parameters to eeprom. */
@@ -134,6 +135,7 @@ eeprom_write_params (void)
eeprom_write_word (p16++, pos_d_sat);
eeprom_write_word (p16++, pos_blocked);
eeprom_write_word (p16++, traj_eps);
+ eeprom_write_word (p16++, traj_aeps);
}
/* Clear eeprom parameters. */