Started working on next milestone
- Removed the 6V5 power enable - Tweaked the cursor position for preset configuration - Updated the MenuText header file for translation at Photonis git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@320 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
#include "Interlock.h"
|
||||
#include "Logger.h"
|
||||
#include "PCBA.h"
|
||||
#include "Power6V5Supply.h"
|
||||
#include "TeslaGunSafety.h"
|
||||
#include "Version.h"
|
||||
|
||||
@@ -140,13 +139,6 @@ ErrorStatus hsb_enableSafetyWithError(void)
|
||||
}
|
||||
}
|
||||
|
||||
// if Interlock(s) closed, continue procedure
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Power the circuit
|
||||
returnValue = Power6V5Supply_on();
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
_hsb_safetyIsEnabled = true;
|
||||
@@ -193,13 +185,6 @@ ErrorStatus hsb_enableSafetyWithWarning(void)
|
||||
}
|
||||
}
|
||||
|
||||
// if Interlock(s) closed, continue procedure
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Power the circuit
|
||||
returnValue = Power6V5Supply_on();
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
_hsb_safetyIsEnabled = true;
|
||||
@@ -239,8 +224,6 @@ ErrorStatus hsb_disableSafety(void)
|
||||
DAConverter_setOutputVoltage(dacRow2, 0);
|
||||
DAConverter_setOutputVoltage(dacRow3, 0);
|
||||
|
||||
// Un-Power the circuit
|
||||
Power6V5Supply_off();
|
||||
|
||||
if (PCBA_getInstance()->pcba != PCBA_Tesla)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user