Skip to content

Commit d9967f5

Browse files
Renaud11232thinkyhead
authored andcommitted
🔨 Fix LPC1768 autodetect path on Linux (MarlinFirmware#24773)
1 parent 5ee7466 commit d9967f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/HAL/LPC1768/upload_extra_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def before_upload(source, target, env):
7373
#
7474
import getpass
7575
user = getpass.getuser()
76-
mpath = Path('media', user)
76+
mpath = Path('/media', user)
7777
drives = [ x for x in mpath.iterdir() if x.is_dir() ]
7878
if target_drive in drives: # If target drive is found, use it.
7979
target_drive_found = True

0 commit comments

Comments
 (0)