1. Which is used indeed? E_SPO_SPINDLE_PRIMARY or E_SPO_SPINDLE_SECONDARY?
SCI_Read_HallSensor_PulseCounter (&aps_RequiredPorts->u16_PulsCounter [E_SPO_SPINDLE_PRIMARY] , E_SHA_HALL_SECONDARY);
......
SCI_Read_HallSensor_PulseCounter (&aps_RequiredPorts->u16_PulsCounter [E_SPO_SPINDLE_SECONDARY], E_SHA_HALL_SECONDARY);
......
2. track
gs_Sci_Data_Buffer.ProtectionCfg.b_AntiPinchPinchDetectedPrimary &
gs_Sci_Data_Buffer.ProtectionCfg.b_AntiPinchPinchDetectedSecondary