From 7f0ae3053dd942192ada4eeffbaa2983677ec664 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 8 Oct 2025 16:19:46 +0200 Subject: [PATCH] camera_app.py: disable broken hardware check --- .../apps/com.micropythonos.camera/assets/camera_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py index 77ed276e..4aeea154 100644 --- a/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py +++ b/internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py @@ -104,9 +104,12 @@ class CameraApp(Activity): def onResume(self, screen): try: - assert(current_hardware == "unix" or current_hardware == "waveshare-esp32-s3-touch-lcd-2") + pass + #print(f"current_hardware: {current_hardware}") # problem: this isn't defined + #assert(current_hardware == "unix" or current_hardware == "waveshare-esp32-s3-touch-lcd-2") except Exception as e: # use an assert in case current_hardware isn't defined for some boards print("WARNING: the current_hardware doesn't have support for a camera!") + print(e) return self.cam = init_internal_cam() if self.cam: