Skip to content

Commit

Permalink
🔨 Fix LPC1768 autodetect path on Linux (MarlinFirmware#24773)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud11232 authored and thinkyhead committed Dec 16, 2022
1 parent 5ee7466 commit d9967f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/HAL/LPC1768/upload_extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def before_upload(source, target, env):
#
import getpass
user = getpass.getuser()
mpath = Path('media', user)
mpath = Path('/media', user)
drives = [ x for x in mpath.iterdir() if x.is_dir() ]
if target_drive in drives: # If target drive is found, use it.
target_drive_found = True
Expand Down

0 comments on commit d9967f5

Please sign in to comment.