🔨 Fix LPC1768 autodetect path on Linux (#24773)

This commit is contained in:
Renaud11232 2022-09-23 07:20:44 +02:00 committed by Scott Lahteine
parent 5ee74668cf
commit d9967f5395
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ if pioutil.is_pio_build():
#
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