We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09d19f commit 7f0ae30Copy full SHA for 7f0ae30
internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py
@@ -104,9 +104,12 @@ def onCreate(self):
104
105
def onResume(self, screen):
106
try:
107
- assert(current_hardware == "unix" or current_hardware == "waveshare-esp32-s3-touch-lcd-2")
+ pass
108
+ #print(f"current_hardware: {current_hardware}") # problem: this isn't defined
109
+ #assert(current_hardware == "unix" or current_hardware == "waveshare-esp32-s3-touch-lcd-2")
110
except Exception as e: # use an assert in case current_hardware isn't defined for some boards
111
print("WARNING: the current_hardware doesn't have support for a camera!")
112
+ print(e)
113
return
114
self.cam = init_internal_cam()
115
if self.cam:
0 commit comments