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:
mmi
2018-02-05 15:58:06 +00:00
parent f02bd2002b
commit d5a10b7c2e
11 changed files with 242 additions and 17 deletions

View File

@@ -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;