Skip to content
Snippets Groups Projects
Commit 03595675 authored by Alexander Ivanov's avatar Alexander Ivanov
Browse files

Zero the Epics structure out when the sequencer starts. This

is needed to initialize all masks to zero, so we come up with
all Epics channels unmasked.


git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3461 6dcd42c9-f523-4c6d-aada-af552506706e
parent eae4bdee
No related branches found
No related tags found
No related merge requests found
......@@ -358,6 +358,8 @@ state init
%% pFilt = (FILT_MOD *)(&pRfm->%EPICS_FILT_VAR%);
%% pVmeCoeff = (VME_COEF*)(&pRfm->%EPICS_COEFF_VAR%);
%% pEpics = (%EPICS_TYPE%*)(&pRfm->%EPICS_EPICS_VAR%);
%% /* Zero the Epics structure out */
%% memset(pEpics, 0, sizeof(%EPICS_TYPE%));
%% printf("%s pFilt is at 0x%lx\n", fmc.subSys[0].name, ((unsigned long)pFilt-(unsigned long)pRfm));
%% printf("%s pVmeCoeff is at 0x%lx\n", fmc.subSys[0].name, ((unsigned long)pVmeCoeff-(unsigned long)pRfm));
%% printf("%s pVmeCoeff size is 0x%lx\n", fmc.subSys[0].name, sizeof(*pVmeCoeff));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment