finish esp/gps removal (#1559)

This commit is contained in:
Adeeb Shihadeh
2023-08-06 12:29:54 -07:00
committed by GitHub
parent d2d207b88d
commit c66b98b2a6
25 changed files with 94 additions and 648 deletions

View File

@@ -770,13 +770,6 @@ class Panda:
def enable_deepsleep(self):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xfb, 0, 0, b'')
def set_esp_power(self, on):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xd9, int(on), 0, b'')
def esp_reset(self, bootmode=0):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xda, int(bootmode), 0, b'')
time.sleep(0.2)
def set_safety_mode(self, mode=SAFETY_SILENT, param=0):
self._handle.controlWrite(Panda.REQUEST_OUT, 0xdc, mode, param, b'')