- exit remote state by switching off
git-svn-id: http://moon:8086/svn/projects/HendiControl@75 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -242,7 +242,7 @@ int main(void)
|
||||
PRINT ("PwrSwitch_in = %d\n", portGet(PwrSwitch_in));
|
||||
if (sw_in == 0)
|
||||
{
|
||||
if (state == StateError)
|
||||
if (state == StateError || state == StateRemote)
|
||||
{
|
||||
setSwitch(SwitchOn);
|
||||
state_next = StateNormal;
|
||||
|
||||
Reference in New Issue
Block a user