- 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:
2019-03-05 23:19:26 +00:00
parent 3460c4ba93
commit 1760a46f41
+1 -1
View File
@@ -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;