Remove native init check from stage.

It isn't needed because the object is passed in, not self. To be
passed in it must be inited.
This commit is contained in:
Scott Shawcroft 2019-05-14 10:20:04 -07:00
parent 6756821fd9
commit bf682d14b3
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59

View File

@ -85,7 +85,6 @@ STATIC mp_obj_t stage_render(size_t n_args, const mp_obj_t *args) {
mp_obj_t native_display = mp_instance_cast_to_native_base(args[6],
&displayio_display_type);
mp_obj_assert_native_inited(native_display);
if (!MP_OBJ_IS_TYPE(native_display, &displayio_display_type)) {
mp_raise_TypeError(translate("argument num/types mismatch"));
}