Skip to content

Commit 661b220

Browse files
ahcordeYadunund
andauthored
Update rmw_zenoh_cpp/src/rmw_event.cpp
Co-authored-by: yadunund <[email protected]> Signed-off-by: Alejandro Hernández Cordero <[email protected]>
1 parent bd23216 commit 661b220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmw_zenoh_cpp/src/rmw_event.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ rmw_event_set_callback(
179179
bool
180180
rmw_event_type_is_supported(rmw_event_type_t rmw_event_type)
181181
{
182-
return rmw_zenoh_cpp::event_check_compatible(rmw_event_type);
182+
return (rmw_zenoh_cpp::zenoh_event_from_rmw_event(rmw_event_type) != rmw_zenoh_cpp::ZENOH_EVENT_INVALID);
183183
}
184184

185185
///=============================================================================

0 commit comments

Comments
 (0)