aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2017-10-31 21:59:17 -0400
committerGitHub <noreply@github.com>2017-10-31 21:59:17 -0400
commitdc3f13d13f0f07124bd4cca51dededa46246c05b (patch)
tree06978f935e5611bbcfd4dbe60a78f052e425d7ff
parent8c7571a75d7839702dc2626e91a5da9a564022cd (diff)
parent15dcc7011cf871c32828d1b28d520b210d47cc90 (diff)
Merge pull request #392 from tannewt/slice_assign
atmel-samd: Turn on slice assignment in all builds.
-rw-r--r--ports/atmel-samd/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h
index 94f4172f5..37840e0ad 100644
--- a/ports/atmel-samd/mpconfigport.h
+++ b/ports/atmel-samd/mpconfigport.h
@@ -43,6 +43,7 @@
#define MICROPY_PY_BUILTINS_SET (1)
#define MICROPY_PY_BUILTINS_SLICE (1)
#define MICROPY_PY_BUILTINS_SLICE_ATTRS (1)
+#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_BUILTINS_PROPERTY (1)
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
#define MICROPY_PY___FILE__ (1)
@@ -186,7 +187,6 @@ extern const struct _mp_obj_module_t usb_hid_module;
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (1)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
- #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_SYS_MAXSIZE (1)
#define MICROPY_CPYTHON_COMPAT (1)
// Scan gamepad every 32ms