Skip to content

Commit

Permalink
Merge pull request #3736 from bfulkers-i/low-power-disable
Browse files Browse the repository at this point in the history
T265: Disable low power mode by default
  • Loading branch information
ev-mp committed Apr 17, 2019
2 parents b1dceaf + 672b33b commit 14bf267
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions third-party/libtm/libtm/src/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ namespace perc {
mDeviceStatus = Status::INIT_FAILED;
}

/* Enable low power mode */
status = SetLowPowerModeInternal(true);
/* Disable low power mode */
status = SetLowPowerModeInternal(false);
if (status != Status::SUCCESS)
{
DEVICELOGE("Error: Failed to enable low power mode (0x%X)", status);
DEVICELOGE("Error: Failed to disable low power mode (0x%X)", status);
}

status = GetDeviceInfoInternal();
Expand Down

0 comments on commit 14bf267

Please sign in to comment.