Added some IO modules (teslaGun, solenoid, powerEnable) as dedicated modules instead of general IO
Fixed code behind them git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@266 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -49,7 +49,6 @@ typedef enum
|
||||
{
|
||||
GPIO_FAIL,
|
||||
INTERLOCK_COMMON_FAIL,
|
||||
INTERLOCK_TESLA_FAIL,
|
||||
POWERENABLE_FAIL,
|
||||
REPAIR_FAIL,
|
||||
} T_ErrorCode;
|
||||
|
||||
@@ -92,33 +92,6 @@ extern struct Display* const mainDisplay;
|
||||
extern ErrorStatus hsb_generateStartScreen(struct Display* Display);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* hsb_solenoidLock
|
||||
* Locks the solenoid
|
||||
*
|
||||
*
|
||||
* @return ErrorStatus SUCCESS if locking was successful
|
||||
* ERROR otherwise
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus hsb_solenoidLock (void);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* hsb_solenoidUnlock
|
||||
* Unlocks the solenoid
|
||||
*
|
||||
*
|
||||
* @return ErrorStatus SUCCESS if locking was successful
|
||||
* ERROR otherwise
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus hsb_solenoidUnlock (void);
|
||||
|
||||
|
||||
extern ErrorStatus hsb_enableSafety(void);
|
||||
extern ErrorStatus hsb_disableSafety(void);
|
||||
|
||||
Reference in New Issue
Block a user