mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-10-18 16:23:45 +08:00
modeld: fix 3s chestnut timeout (#39012)
modeld: restore 3s chestnut timeout
This commit is contained in:
@@ -231,7 +231,8 @@ def main(demo=False):
|
||||
|
||||
CHESTNUT = chestnut_compiled() and (chestnut_present() or cable_connected())
|
||||
if CHESTNUT:
|
||||
os.environ['HCQDEV_WAIT_TIMEOUT_MS'] = '3000'
|
||||
from tinygrad.runtime.ops_amd import AMDDevice
|
||||
AMDDevice.wait_timeout_ms = 3000
|
||||
params = Params()
|
||||
params.put_bool("ChestnutLoading", CHESTNUT)
|
||||
params.remove("ChestnutActive")
|
||||
|
||||
Reference in New Issue
Block a user