File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
shared-bindings/displayio Expand file tree Collapse file tree 1 file changed +4
-3
lines changed 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
227
227
//| When auto refresh is on, updates the display immediately. (The display will also update
228
228
//| without calls to this.)
229
229
//|
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
231
231
//| the display immediately.
232
232
//|
233
233
//| :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
252
252
}
253
253
254
254
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 ;
257
258
}
258
259
else {
259
260
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