File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ports/espressif/bindings/esp32_camera Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 58
58
//| frame_size: FrameSize=FrameSize.QQVGA,
59
59
//| jpeg_quality: int=15,
60
60
//| double_buffered: bool = True,
61
- //| grab_mode: GrabMode = GrabMode.WhenEmpty ,
61
+ //| grab_mode: GrabMode = GrabMode.WHEN_EMPTY ,
62
62
//| ) -> None:
63
63
//| """
64
64
//| Configure and initialize a camera with the given properties
@@ -191,7 +191,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(esp32_camera_camera_frame_available_get_obj, es
191
191
MP_PROPERTY_GETTER (esp32_camera_camera_frame_available_obj ,
192
192
(mp_obj_t )& esp32_camera_camera_frame_available_get_obj );
193
193
194
- //| def take(timeout: Optional[float]=0.25) -> Optional[displayio.Bitmap | ReadableBuffer]:
194
+ //| def take(self, timeout: Optional[float]=0.25) -> Optional[displayio.Bitmap | ReadableBuffer]:
195
195
//| """Record a frame. Wait up to 'timeout' seconds for a frame to be captured.
196
196
//|
197
197
//| In the case of timeout, `None` is returned.
You can’t perform that action at this time.
0 commit comments