Skip to content

Commit

Permalink
fixup! add rs2_device_is_connected, rs2::device::is_connected
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Oct 1, 2023
1 parent 83bcc9d commit 77f985f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ NOEXCEPT_RETURN(, device)
int rs2_device_is_connected( const rs2_device * device, rs2_error ** error ) BEGIN_API_CALL
{
VALIDATE_NOT_NULL( device );
VALIDATE_NOT_NULL( device->device );
return device->device->is_valid();
}
HANDLE_EXCEPTIONS_AND_RETURN( 0, device )
Expand Down

0 comments on commit 77f985f

Please sign in to comment.