Skip to content

Commit

Permalink
not detected yet
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Jul 22, 2024
1 parent 5cf3059 commit 50cb864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/RobotKit/include/RobotController.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class RobotController : public interface::RobotController
void suspendHardwareForDeepSleep() final
{
for (auto &component: _deep_sleep_enabled_components) {
component->enableDeepSleep();
// component->enableDeepSleep();
}
_ble.disconnect();
}
Expand Down Expand Up @@ -562,9 +562,9 @@ class RobotController : public interface::RobotController
std::chrono::seconds _idle_timeout_duration {1};
std::chrono::seconds _deep_sleep_timeout_duration {1};
#else
std::chrono::seconds _sleep_timeout_duration {60};
std::chrono::seconds _idle_timeout_duration {600};
std::chrono::seconds _deep_sleep_timeout_duration {600};
std::chrono::seconds _sleep_timeout_duration {20};
std::chrono::seconds _idle_timeout_duration {20};
std::chrono::seconds _deep_sleep_timeout_duration {20};
#endif
interface::Timeout &_timeout_state_transition;

Expand Down

0 comments on commit 50cb864

Please sign in to comment.