bypass official hardware check

This commit is contained in:
Rick Lan
2025-09-15 15:03:46 +08:00
parent 82f7022079
commit 8df580705d
+4 -4
View File
@@ -331,10 +331,10 @@ def hardware_thread(end_event, hw_queue) -> None:
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text)
# *** registration check ***
if not PC:
# we enforce this for our software, but you are welcome
# to make a different decision in your software
startup_conditions["registered_device"] = PC or (params.get("DongleId") != UNREGISTERED_DONGLE_ID)
# if not PC:
# # we enforce this for our software, but you are welcome
# # to make a different decision in your software
# startup_conditions["registered_device"] = PC or (params.get("DongleId") != UNREGISTERED_DONGLE_ID)
# TODO: this should move to TICI.initialize_hardware, but we currently can't import params there
if TICI and HARDWARE.get_device_type() == "tici" and not os.getenv("LITE"):