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 acdc2d6 commit 0f2566fCopy full SHA for 0f2566f
internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py
@@ -103,14 +103,6 @@ def onCreate(self):
103
self.setContentView(main_screen)
104
105
def onResume(self, screen):
106
- try:
107
- 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:
116
self.image.set_rotation(900) # internal camera is rotated 90 degrees
0 commit comments