aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-21 04:36:23 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-21 04:36:23 +0200
commit7b6ec0a4e66a4402d5ee0beb4b34b18604e28cd8 (patch)
tree532466e4c88eef1ddc9b9b68b75e4c90a1ab45b9 /Software/Embedded_SW/Embedded/Modules/Thread
parent4ccaf0b3f68b3675a8527df349b3bc4b5b566682 (diff)
parent3f3d743a3f93c17571b681df94d4d9d1848614fa (diff)
downloadTango-7b6ec0a4e66a4402d5ee0beb4b34b18604e28cd8.tar.gz
Tango-7b6ec0a4e66a4402d5ee0beb4b34b18604e28cd8.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c16
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c4
2 files changed, 0 insertions, 20 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
index 869485b71..588b1b391 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
@@ -218,22 +218,6 @@ uint32_t StoreDancerConfigMessage(int DancerId)
status |= MCU_E2PromProgram(DancerAddress[Dancer_i],DancersCfg[Dancer_i].zeropoint);
Report("~~~~~~Store eeprom dancer",__FILE__,__LINE__,Dancer_i,RpWarning,(int)DancersCfg[Dancer_i].zeropoint,0);
- /*
- response_buffer = my_malloc(hardware_configuration__get_packed_size(&DancerConfig));
- if (response_buffer)
- {
- response_size = hardware_configuration__pack(&DancerConfig, response_buffer);
- }
- Fresult = FileWrite(response_buffer,response_size,DancerConfigPath,BIOS_WAIT_FOREVER);
- EraseFlashSection(DANCERS_MAP_IN_FLASH,1024);
- for (Dancer_i = 0; Dancer_i < MAX_SYSTEM_DANCERS; Dancer_i++)
- {
- ReadAppAndProgram(DANCERS_MAP_IN_FLASH, sizeof(Dancers), Dancers);
- }
-
-
- my_free(response_buffer);
-*/
return status;
}
uint32_t LoadDancerConfigMessage()
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index 4ced1e5fe..8b72c1a30 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -714,10 +714,6 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
{
NormalizedError = (-1*NormalizedError);
}
-/*#ifdef BTSR_ROTATED_WINDER_TFU
- if (index == WINDER_MOTOR)
- TranslatedReadValue = (-1*TranslatedReadValue);
-#endif*/
MotorControlConfig[index].m_mesuredParam = NormalizedError;
DancerError[DancerId] = NormalizedError;