summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules/_boot.py
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modules/_boot.py')
-rw-r--r--esp8266/modules/_boot.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/esp8266/modules/_boot.py b/esp8266/modules/_boot.py
index 954a9ee284..52683693d4 100644
--- a/esp8266/modules/_boot.py
+++ b/esp8266/modules/_boot.py
@@ -5,9 +5,7 @@ from flashbdev import bdev
try:
if bdev:
- vfs = uos.VfsFat(bdev)
- uos.mount(vfs, '/flash')
- uos.chdir('/flash')
+ uos.mount(bdev, '/')
except OSError:
import inisetup
vfs = inisetup.setup()