checked in missing file
git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@240 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -81,6 +81,25 @@ struct Pcba* PCBA_getInstance(void)
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
||||
ErrorStatus PCBA_setIO(T_PL_GPIO* A0, T_PL_GPIO* A1)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
|
||||
if ((A0 != NULL) && (A1 != NULL))
|
||||
{
|
||||
thisPCBA.A0 = *A0;
|
||||
thisPCBA.A1 = *A1;
|
||||
}
|
||||
else
|
||||
{
|
||||
returnValue = ERROR;
|
||||
}
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
|
||||
static ErrorStatus PCBA_construct(struct Pcba* self)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user