|
|
@ -197,7 +197,7 @@ Panda *usb_connect(std::string serial="", uint32_t index=0) { |
|
|
|
if (getenv("BOARDD_LOOPBACK")) { |
|
|
|
if (getenv("BOARDD_LOOPBACK")) { |
|
|
|
panda->set_loopback(true); |
|
|
|
panda->set_loopback(true); |
|
|
|
} |
|
|
|
} |
|
|
|
panda->enable_deepsleep(); |
|
|
|
//panda->enable_deepsleep();
|
|
|
|
|
|
|
|
|
|
|
|
// power on charging, only the first time. Panda can also change mode and it causes a brief disconneciton
|
|
|
|
// power on charging, only the first time. Panda can also change mode and it causes a brief disconneciton
|
|
|
|
#ifndef __x86_64__ |
|
|
|
#ifndef __x86_64__ |
|
|
|