Skip to content

Commit

Permalink
Merge pull request #1 from victorsbd/victorsbd-csharp-hw-reset
Browse files Browse the repository at this point in the history
Added Hardware Reset to .Net wrapper
  • Loading branch information
victorsbd authored Feb 1, 2019
2 parents dbf8757 + 59d7f65 commit 5028c78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wrappers/csharp/Intel.RealSense/Devices/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ public SensorList Sensors
return QuerySensors();
}
}

public void HardwareReset()
{
object error;
NativeMethods.rs2_hardware_reset(m_instance, out error);
}

#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
Expand Down

0 comments on commit 5028c78

Please sign in to comment.