mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 17:02:04 +08:00
enable panda deep sleep (#24949)
This commit is contained in:
+1
-1
Submodule panda updated: 4b86b83991...8b26ce940f
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user