Fixed problem with errors not showing up when repair process finished
Started working on issue to release tesla gun only when target voltage has been reached git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@430 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -99,6 +99,16 @@ ErrorStatus TeslaGunSafety_release(void)
|
||||
}
|
||||
|
||||
|
||||
bool TeslaGunSafety_isReleased(void)
|
||||
{
|
||||
bool returnValue;
|
||||
|
||||
GPIO_getValue(self.gpio, &returnValue);
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
|
||||
ErrorStatus TeslaGunSafety_block(void)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user