enable panda deep sleep (#24949)

old-commit-hash: ee6570da4a3fd7e8cbb27feae50c59064f1d55c4
This commit is contained in:
Adeeb Shihadeh
2022-08-01 20:03:32 -07:00
committed by GitHub
parent 70d4f03b9a
commit 85b4328085
2 changed files with 3 additions and 1 deletions
+1 -1
Submodule panda updated: 4b86b83991...8b26ce940f
+2
View File
@@ -193,9 +193,11 @@ Panda *usb_connect(std::string serial="", uint32_t index=0) {
return nullptr;
}
// common panda config
if (getenv("BOARDD_LOOPBACK")) {
panda->set_loopback(true);
}
panda->enable_deepsleep();
// power on charging, only the first time. Panda can also change mode and it causes a brief disconneciton
#ifndef __x86_64__