Skip to content

Commit

Permalink
rename to enable_deepsleep
Browse files Browse the repository at this point in the history
  • Loading branch information
briskspirit committed Mar 7, 2022
1 parent 860e5a4 commit 234e436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def set_usb_power(self, on):
def set_power_save(self, power_save_enabled=0):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xe7, int(power_save_enabled), 0, b'')

def set_deepsleep(self):
def enable_deepsleep(self):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xfb, 0, 0, b'')

def set_esp_power(self, on):
Expand Down

0 comments on commit 234e436

Please sign in to comment.