mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-24 22:32:04 +08:00
bypass official hardware check
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user