Fixed some tasks regarding priority and stack
Updated makefile structure to support multi build git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@362 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -118,29 +118,29 @@ ErrorStatus hsb_enableSafetyWithError(void)
|
||||
CoverSolenoid_lock();
|
||||
}
|
||||
|
||||
// if (returnValue == SUCCESS)
|
||||
// {
|
||||
// // Check for INTERLOCK CLOSE
|
||||
// if (Interlock_isClosed(interlock))
|
||||
// {
|
||||
// // Enable Interrupt for interlock switch
|
||||
// Interlock_setEXTI(interlock, ENABLE);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Error_postError(INTERLOCK_COMMON_FAIL);
|
||||
// returnValue = ERROR;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if (returnValue == SUCCESS)
|
||||
// {
|
||||
// // In case of a TESLA repair, release the teslaGunSafety
|
||||
// if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
// {
|
||||
// TeslaGunSafety_release();
|
||||
// }
|
||||
// }
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Check for INTERLOCK CLOSE
|
||||
if (Interlock_isClosed(interlock))
|
||||
{
|
||||
// Enable Interrupt for interlock switch
|
||||
Interlock_setEXTI(interlock, ENABLE);
|
||||
}
|
||||
else
|
||||
{
|
||||
Error_postError(INTERLOCK_COMMON_FAIL);
|
||||
returnValue = ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// In case of a TESLA repair, release the teslaGunSafety
|
||||
if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
{
|
||||
TeslaGunSafety_release();
|
||||
}
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
@@ -164,29 +164,29 @@ ErrorStatus hsb_enableSafetyWithWarning(void)
|
||||
CoverSolenoid_lock();
|
||||
}
|
||||
|
||||
// if (returnValue == SUCCESS)
|
||||
// {
|
||||
// // Check for INTERLOCK CLOSE
|
||||
// if (Interlock_isClosed(interlock))
|
||||
// {
|
||||
// // Enable Interrupt for interlock switch
|
||||
// Interlock_setEXTI(interlock, ENABLE);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Warning_postWarning(WARNING_INTERLOCK_COMMON_FAIL);
|
||||
// returnValue = ERROR;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if (returnValue == SUCCESS)
|
||||
// {
|
||||
// // In case of a TESLA repair, release the teslaGunSafety
|
||||
// if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
// {
|
||||
// TeslaGunSafety_release();
|
||||
// }
|
||||
// }
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Check for INTERLOCK CLOSE
|
||||
if (Interlock_isClosed(interlock))
|
||||
{
|
||||
// Enable Interrupt for interlock switch
|
||||
Interlock_setEXTI(interlock, ENABLE);
|
||||
}
|
||||
else
|
||||
{
|
||||
Warning_postWarning(WARNING_INTERLOCK_COMMON_FAIL);
|
||||
returnValue = ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// In case of a TESLA repair, release the teslaGunSafety
|
||||
if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
{
|
||||
TeslaGunSafety_release();
|
||||
}
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user