Merge pull request #278 from makermelissa/main

Fix mipi script bug
This commit is contained in:
Melissa LeBlanc-Williams 2023-12-19 15:31:56 -08:00 committed by GitHub
commit 4e477c8ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ if not shell.exists(boot_dir) or not shell.isdir(boot_dir):
@click.option('--boot', nargs=1, default=boot_dir, type=str, help="Specify the boot directory", show_default=True)
def main(user, display, rotation, reboot, boot):
global target_homedir, pitft_config, pitftrot, auto_reboot
global target_homedir, pitft_config, pitftrot, auto_reboot, boot_dir
shell.clear()
if user != target_homedir:
target_homedir = user