Skip to content

Commit 8be862e

Browse files
committed
Remove trailing whitespace
1 parent c4b1db0 commit 8be862e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

shared-bindings/displayio/Display.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)