mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-13 00:03:45 +08:00
Revert "ignore for now"
This reverts commit f571b2b9201f0a7a5571d3114a317bd9e55d879b.
This commit is contained in:
@@ -68,7 +68,7 @@ class Chestnut:
|
||||
def update(self, offroad: bool, usb_state: list[dict]) -> None:
|
||||
mismatch = any((d["vendorId"], d["productId"]) in CHESTNUT_USB_IDS + CHESTNUT_ROM_USB_IDS and
|
||||
d["product"] != f"custom {CHESTNUT_FW_VERSION}-CLEAN" for d in usb_state)
|
||||
self.set_vbus(not offroad or mismatch)
|
||||
self.set_vbus((not offroad or mismatch) or not self.params.get_bool("AuxPowerSave"))
|
||||
if not mismatch:
|
||||
self.flashed = False
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user