mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-27 21:13:42 +08:00
编辑amplifier.py
This commit is contained in:
@@ -124,7 +124,7 @@ class Amplifier:
|
||||
|
||||
def set_configs(self, configs: list[AmpConfig]) -> bool:
|
||||
# retry in case panda is using the amp
|
||||
tries = 15
|
||||
tries = 0
|
||||
for i in range(15):
|
||||
try:
|
||||
self._set_configs(configs)
|
||||
|
||||
Reference in New Issue
Block a user