aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2020-08-09 17:12:30 +0300
committerAvi Levkovich <avi@twine-s.com>2020-08-09 17:12:30 +0300
commit809b93d08808647fc7b75552cc576877d382f7e8 (patch)
treee54deb9e92f48d6b25bb5d372050eb19d5c7caf3 /Software/Embedded_SW/Embedded/Main.c
parentf0f40f3e5614dc23b5463d9b2ce1581ab90f267f (diff)
downloadTango-809b93d08808647fc7b75552cc576877d382f7e8.tar.gz
Tango-809b93d08808647fc7b75552cc576877d382f7e8.zip
Add delay between initialization of the head I/O and activation the latch of the heaters
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index 66db76348..4a5a13351 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -295,6 +295,12 @@ int main(void)
FPGA_Init();
Check_IFS_Availability();//Init_IFS();//must be done after FPGA_Init
+
+ if (Head_Type > HEAD_TYPE_FLAT_WITHOUT_CARD)
+ {
+ //Activasation the heaters latch
+ Trigger_OutputsLatchWriting();//need to be done ~ at least 100uSec after Trigger_Head_io_Init
+ }
#endif
MAP_FPULazyStackingEnable();