Commit eea09c46 authored by Ivan Tyagov's avatar Ivan Tyagov

Print only once current state.

parent 9c1af4af
......@@ -323,11 +323,13 @@ void callbackCheckHeartBeat() {
}
else {
// still no hear beat from this coupler ...
if (CURRENT_STATE != STATE_NO_INITIAL_HEART_BEAT){
CURRENT_STATE = STATE_NO_INITIAL_HEART_BEAT;
UA_LOG_INFO(UA_Log_Stdout, UA_LOGCATEGORY_USERLAND, "NO INITIAL HEART BEAT: %s", coupler_id_str);
}
}
}
}
}
......
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