@@ -230,7 +230,7 @@ STATIC mp_obj_t displayio_display_obj_show(mp_obj_t self_in, mp_obj_t group_in)
230
230
}
231
231
MP_DEFINE_CONST_FUN_OBJ_2 (displayio_display_show_obj , displayio_display_obj_show );
232
232
233
- //| def refresh(self, *, target_frames_per_second: Optional[int] = None, minimum_frames_per_second: int = 1 ) -> bool:
233
+ //| def refresh(self, *, target_frames_per_second: Optional[int] = None, minimum_frames_per_second: int = 0 ) -> bool:
234
234
//| """When auto refresh is off, waits for the target frame rate and then refreshes the display,
235
235
//| returning True. If the call has taken too long since the last refresh call for the given
236
236
//| target frame rate, then the refresh returns False immediately without updating the screen to
@@ -254,7 +254,7 @@ STATIC mp_obj_t displayio_display_obj_refresh(size_t n_args, const mp_obj_t *pos
254
254
enum { ARG_target_frames_per_second , ARG_minimum_frames_per_second };
255
255
static const mp_arg_t allowed_args [] = {
256
256
{ MP_QSTR_target_frames_per_second , MP_ARG_OBJ | MP_ARG_KW_ONLY , {.u_obj = mp_const_none } },
257
- { MP_QSTR_minimum_frames_per_second , MP_ARG_KW_ONLY | MP_ARG_INT , {.u_int = 1 } },
257
+ { MP_QSTR_minimum_frames_per_second , MP_ARG_KW_ONLY | MP_ARG_INT , {.u_int = 0 } },
258
258
};
259
259
260
260
mp_arg_val_t args [MP_ARRAY_SIZE (allowed_args )];
0 commit comments