Skip to content

Commit 1329fe9

Browse files
committed
add to .h and format code
1 parent 2cd5d4f commit 1329fe9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

shared-bindings/displayio/Display.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ STATIC mp_obj_t displayio_display_obj_set_root_group(mp_obj_t self_in, mp_obj_t
439439
MP_DEFINE_CONST_FUN_OBJ_2(displayio_display_set_root_group_obj, displayio_display_obj_set_root_group);
440440

441441
MP_PROPERTY_GETSET(displayio_display_root_group_obj,
442-
(mp_obj_t)&displayio_display_get_root_group_obj,
443-
(mp_obj_t)&displayio_display_set_root_group_obj);
442+
(mp_obj_t)&displayio_display_get_root_group_obj,
443+
(mp_obj_t)&displayio_display_set_root_group_obj);
444444

445445

446446
//| def fill_row(self, y: int, buffer: WriteableBuffer) -> WriteableBuffer:

shared-bindings/displayio/Display.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ bool common_hal_displayio_display_set_brightness(displayio_display_obj_t *self,
6767

6868
mp_obj_t common_hal_displayio_display_get_bus(displayio_display_obj_t *self);
6969
mp_obj_t common_hal_displayio_display_get_root_group(displayio_display_obj_t *self);
70+
mp_obj_t common_hal_displayio_display_set_root_group(displayio_display_obj_t *self, displayio_group_t *root_group);
7071

7172
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_DISPLAYIO_DISPLAY_H

0 commit comments

Comments
 (0)