summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-09-08 21:30:52 -0700
committerGitHub <noreply@github.com>2019-09-08 21:30:52 -0700
commitd9e06416062f7b45e0a32d1f7b251cb30f2432a4 (patch)
treeca59ac7ea4a5bf00fa335682a6f627132d986891 /shared-bindings
parent8e552324928ea0081cb67c818a26d2b83da55f05 (diff)
Set dither default to False and document it
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/displayio/ColorConverter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/displayio/ColorConverter.c b/shared-bindings/displayio/ColorConverter.c
index 75eb8ba32..db2d1b6e2 100644
--- a/shared-bindings/displayio/ColorConverter.c
+++ b/shared-bindings/displayio/ColorConverter.c
@@ -43,7 +43,7 @@
//|
//| Converts one color format to another.
//|
-//| .. class:: ColorConverter()
+//| .. class:: ColorConverter(*, dither=False)
//|
//| Create a ColorConverter object to convert color formats. Only supports RGB888 to RGB565
//| currently.
@@ -55,7 +55,7 @@ STATIC mp_obj_t displayio_colorconverter_make_new(const mp_obj_type_t *type, siz
enum { ARG_dither};
static const mp_arg_t allowed_args[] = {
- { MP_QSTR_dither, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = true} },
+ { MP_QSTR_dither, MP_ARG_KW_ONLY | MP_ARG_BOOL, {.u_bool = false} },
};
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
mp_arg_parse_all(n_args, pos_args, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);