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, 2 insertions, 2 deletions
diff --git a/esp8266/modules/_boot.py b/esp8266/modules/_boot.py
index c200b3d3f9..81eb20dd63 100644
--- a/esp8266/modules/_boot.py
+++ b/esp8266/modules/_boot.py
@@ -5,9 +5,9 @@ from flashbdev import bdev
try:
if bdev:
- vfs = uos.VfsFat(bdev, "")
+ uos.mount(bdev, '/')
except OSError:
import inisetup
- vfs = inisetup.setup()
+ inisetup.setup()
gc.collect()