File tree Expand file tree Collapse file tree
shared-bindings/displayio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ MP_DEFINE_CONST_FUN_OBJ_2(displayio_display_show_obj, displayio_display_obj_show
227227//| When auto refresh is on, updates the display immediately. (The display will also update
228228//| without calls to this.)
229229//|
230- //| When auto refresh is off, refresh() or refresh(target_frames_per_second=None) will update
230+ //| When auto refresh is off, refresh() or refresh(target_frames_per_second=None) will update
231231//| the display immediately.
232232//|
233233//| :param int target_frames_per_second: How many times a second `refresh` should be called and the screen updated.
@@ -252,8 +252,9 @@ STATIC mp_obj_t displayio_display_obj_refresh(size_t n_args, const mp_obj_t *pos
252252 }
253253
254254 uint32_t target_ms_per_frame ;
255- if ( (args [ARG_target_frames_per_second ].u_obj == mp_const_none ) || (n_args == 1 ) ) { // if None or no arguments
256- target_ms_per_frame = 0xffffffff ;
255+ if ( (args [ARG_target_frames_per_second ].u_obj == mp_const_none ) || (n_args == 1 ) ) {
256+ // if None or no arguments
257+ target_ms_per_frame = 0xffffffff ;
257258 }
258259 else {
259260 target_ms_per_frame = 1000 / mp_obj_get_int (args [ARG_target_frames_per_second ].u_obj );
You can’t perform that action at this time.
0 commit comments