diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-20 16:49:00 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-20 16:49:00 +0200 |
| commit | cb13435931b24d6c156804f70fcfdb78865e4c11 (patch) | |
| tree | 83c9893fbb2a0e25b374ab09780bd6c946bce08f /Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c | |
| parent | 232cfcfd6388681f7b9a3f1eedead28dbdab9e70 (diff) | |
| parent | 1767535a1e6ecbdb05ffe62dda85c9fb78e6718f (diff) | |
| download | Tango-cb13435931b24d6c156804f70fcfdb78865e4c11.tar.gz Tango-cb13435931b24d6c156804f70fcfdb78865e4c11.zip | |
merge
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c index b414611ff..435d7aef3 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c @@ -106,7 +106,7 @@ uint32_t MotorPidRequestMessage(HardwarePidControl* request) DancerStopActivityLimit[Motor_i] = temp/(2*PI*DancersCfg[ThreadMotorIdToDancerId[Motor_i]].armlength); return OK; } -char DancerConfigPath[50] = "0://SWInfo//DancCfg.msg"; +char DancerConfigPath[50] = "0://SysInfo//DancCfg.cfg"; uint32_t StoreDancerConfigMessage() { @@ -128,6 +128,7 @@ uint32_t StoreDancerConfigMessage() Dancers[Dancer_i].has_hardwaredancertype = true; DancerConfig.dancers[Dancer_i]->zeropoint=Control_Read_Dancer_Position(Dancer_i,0,0); DancerConfig.n_dancers++; + DancersCfg[Dancer_i].zeropoint = DancerConfig.dancers[Dancer_i]->zeropoint; } response_buffer = my_malloc(hardware_configuration__get_packed_size(&DancerConfig)); if (response_buffer) |
