py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled.

This commit is contained in:
Damien George 2017-06-08 00:41:27 +10:00
parent 326e8860ab
commit e1cda00387
1 changed files with 3 additions and 3 deletions

View File

@ -74,12 +74,12 @@ STATIC MP_DEFINE_ATTRTUPLE(
MP_ROM_PTR(&mp_sys_implementation_version_info_obj)
);
#else
STATIC const mp_obj_tuple_t mp_sys_implementation_obj = {
STATIC const mp_rom_obj_tuple_t mp_sys_implementation_obj = {
{&mp_type_tuple},
2,
{
MP_OBJ_NEW_QSTR(MP_QSTR_micropython),
(mp_obj_t)&mp_sys_implementation_version_info_obj,
MP_ROM_QSTR(MP_QSTR_micropython),
MP_ROM_PTR(&mp_sys_implementation_version_info_obj),
}
};
#endif