enable panda deep sleep (#24949)

This commit is contained in:
Adeeb Shihadeh
2022-08-01 20:03:32 -07:00
committed by GitHub
parent e7b3ebdb17
commit ee6570da4a
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__