Skip to content

Commit

Permalink
add a print to power hold
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed May 20, 2024
1 parent 7f2228e commit c71b3d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uvc-sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ class uvc_sensor : public raw_sensor_base
{
std::this_thread::sleep_for( timeout );
if( auto strong = weak.lock() )
{
LOG_DEBUG("releasing power");
strong->release_power();
}
} );
release_power_thread.detach();
}
Expand Down

0 comments on commit c71b3d3

Please sign in to comment.