Browse Source

🔨 Fix LPC1768 autodetect path on Linux (#24773)

Renaud11232 1 year ago
parent
commit
7d08ab4fb7
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/LPC1768/upload_extra_script.py

+ 1
- 1
Marlin/src/HAL/LPC1768/upload_extra_script.py View File

@@ -73,7 +73,7 @@ if pioutil.is_pio_build():
73 73
                 #
74 74
                 import getpass
75 75
                 user = getpass.getuser()
76
-                mpath = Path('media', user)
76
+                mpath = Path('/media', user)
77 77
                 drives = [ x for x in mpath.iterdir() if x.is_dir() ]
78 78
                 if target_drive in drives:  # If target drive is found, use it.
79 79
                     target_drive_found = True

Loading…
Cancel
Save