Skip to content

Commit 5a4446e

Browse files
committed
espressif_bindings/Camera.c: fix type of framebuffer_count
1 parent 5a80d6f commit 5a4446e

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/bindings/espcamera

1 file changed

+1
-1
lines changed

ports/espressif/bindings/espcamera/Camera.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static mp_obj_t espcamera_camera_reconfigure(mp_uint_t n_args, const mp_obj_t *p
261261
args[ARG_grab_mode].u_obj != MP_ROM_NONE
262262
? validate_grab_mode(args[ARG_grab_mode].u_obj, MP_QSTR_grab_mode)
263263
: common_hal_espcamera_camera_get_grab_mode(self);
264-
bool framebuffer_count =
264+
mp_int_t framebuffer_count =
265265
args[ARG_framebuffer_count].u_obj != MP_ROM_NONE
266266
? mp_obj_get_int(args[ARG_framebuffer_count].u_obj)
267267
: common_hal_espcamera_camera_get_framebuffer_count(self);

0 commit comments

Comments
 (0)