Commit 08fdef1b authored by Ivan Tyagov's avatar Ivan Tyagov

Go to normal operation mode in case keep-alive network is restored.

parent 1e91e159
......@@ -306,6 +306,8 @@ void callbackCheckHeartBeat() {
// initial keep alive received, printout
UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_USERLAND,
"UP (recovered %d times): %s", SAFE_MODE_STATE_COUNTER, coupler_id_str);
// go to normal operational mode
gotoNormalMode();
}
CURRENT_STATE = STATE_UP;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment