Skip to content

Commit d9e0641

Browse files
authored
Set dither default to False and document it
1 parent 8e55232 commit d9e0641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/displayio/ColorConverter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
//|
4444
//| Converts one color format to another.
4545
//|
46-
//| .. class:: ColorConverter()
46+
//| .. class:: ColorConverter(*, dither=False)
4747
//|
4848
//| Create a ColorConverter object to convert color formats. Only supports RGB888 to RGB565
4949
//| currently.
@@ -55,7 +55,7 @@ STATIC mp_obj_t displayio_colorconverter_make_new(const mp_obj_type_t *type, siz
5555
enum { ARG_dither};
5656

5757
static const mp_arg_t allowed_args[] = {
58-
{ MP_QSTR_dither, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = true} },
58+
{ MP_QSTR_dither, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = false} },
5959
};
6060
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
6161
mp_arg_parse_all(n_args, pos_args, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);

0 commit comments

Comments
 (0)