python: disable power save by default when setting safety mode (#725)

* python: disable power save by default when setting safety mode

* no need to set power save manually

* Update python/__init__.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
Greg Hogan
2021-09-23 23:12:36 -07:00
committed by GitHub
parent 2570770f7b
commit fcd064345a
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,6 @@ if __name__ == "__main__":
uds_data_ids[uds_id] = "IDENTIFICATION_OPTION_SYSTEM_SUPPLIER_SPECIFIC"
panda = Panda()
panda.set_power_save(0)
panda.set_safety_mode(Panda.SAFETY_ELM327)
print("querying addresses ...")
with tqdm(addrs) as t: