()
| 69 | |
| 70 | |
| 71 | def start_device() -> None: |
| 72 | given_pt = get_env_value_or_raise(ENV.DEVICE_TYPE) |
| 73 | selected_device = get_device(given_pt) |
| 74 | if selected_device is None: |
| 75 | raise RuntimeError(f"'{given_pt}' is invalid! Please check again!") |
| 76 | selected_device.create() |
| 77 | selected_device.start() |
| 78 | selected_device.wait_until_ready() |
| 79 | selected_device.reconfigure() |
| 80 | selected_device.keep_alive() |
| 81 | |
| 82 | |
| 83 | def start_display_screen() -> None: |
no test coverage detected