From 11db6004e4701ec521e769dd157c92c79059403c Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Wed, 31 May 2023 10:33:39 -0400 Subject: [PATCH] bugfix: on simulator SD active LED not always turned off --- shared/files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/files.py b/shared/files.py index ea276983..2f5ed2b2 100644 --- a/shared/files.py +++ b/shared/files.py @@ -258,7 +258,9 @@ class CardSlot: elif glob.VD: glob.VD.unmount(self.wrote_files) + self.active_led.off() # required on simulator self.mountpt = None + return False def open(self, fname, mode='r', **kw):