Skip to content

Commit

Permalink
comment has been added in FwLogsThread for unique device for flash logs
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Jul 5, 2020
1 parent 108139e commit 4a7d1b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void getFwLogsFromFlash()
try(RsContext ctx = new RsContext()){
try(DeviceList devices = ctx.queryDevices()) {
if (devices.getDeviceCount() > 0) {
// only device 0 is taken care of, as the camera app is supposed to work only with one device
try (Device device = devices.createDevice(0)) {
if(device != null) {
try(final FwLogger fwLoggerDevice = device.as(Extension.FW_LOGGER)){
Expand Down

0 comments on commit 4a7d1b6

Please sign in to comment.