Skip to content

Commit 052652b

Browse files
author
Felix Exner (fexner)
authored
Make depreaction warning for keepalive_counter in RevereseInterface a… (#183)
… warning instead of error
1 parent 9161d6b commit 052652b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/control/reverse_interface.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ bool ReverseInterface::writeFreedriveControlMessage(const FreedriveControlMessag
204204

205205
void ReverseInterface::setKeepaliveCount(const uint32_t count)
206206
{
207-
URCL_LOG_ERROR("DEPRECATION NOTICE: Setting the keepalive count has been deprecated. Instead you should set the "
208-
"timeout directly in the write commands. Please change your code to set the read timeout in the write "
209-
"commands "
210-
"directly. This keepalive count will overwrite the timeout passed to the write functions.");
207+
URCL_LOG_WARN("DEPRECATION NOTICE: Setting the keepalive count has been deprecated. Instead you should set the "
208+
"timeout directly in the write commands. Please change your code to set the read timeout in the write "
209+
"commands "
210+
"directly. This keepalive count will overwrite the timeout passed to the write functions.");
211211
keepalive_count_ = count;
212212
keep_alive_count_modified_deprecated_ = true;
213213
}

0 commit comments

Comments
 (0)