Updates:
- Re-located repairprocessrow information in dedicated object - added error conditions to repair row and added condition handling to repair process git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@260 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -72,7 +72,7 @@ ErrorStatus hsb_generateStartScreen(struct Display* Display)
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
returnValue = Display_write(mainDisplay, pcba->name, strlen(pcba->name), 1, 1);
|
||||
returnValue = Display_write(mainDisplay, PCBA_getInstance()->name, 1, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -87,7 +87,7 @@ ErrorStatus hsb_generateStartScreen(struct Display* Display)
|
||||
Version_getInstance()->minor,
|
||||
Version_getInstance()->branch,
|
||||
Version_getInstance()->patch);
|
||||
Display_write(mainDisplay, buffer, strlen(buffer), 3, 4);
|
||||
Display_write(mainDisplay, buffer, 3, 4);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -135,7 +135,7 @@ ErrorStatus hsb_enableSafety(void)
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// TESLA has a second interlock that must be closed
|
||||
if (PCBA_getInstance()->pcba == Tesla)
|
||||
if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
{
|
||||
if (Interlock_isClosed(teslalock))
|
||||
{
|
||||
@@ -177,7 +177,7 @@ ErrorStatus hsb_disableSafety(void)
|
||||
|
||||
Interlock_setEXTI(interlock, DISABLE);
|
||||
// TESLA has a second interlock that must be closed
|
||||
if (PCBA_getInstance()->pcba == Tesla)
|
||||
if (PCBA_getInstance()->pcba == PCBA_Tesla)
|
||||
{
|
||||
Interlock_setEXTI(teslalock, DISABLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user