py/runtime: When init'ing kbd intr exc, use tuple ptr instead of object.

This commit is contained in:
Damien George 2017-04-10 17:07:26 +10:00
parent ee86de1f1a
commit 79ce664952
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void mp_init(void) {
MP_STATE_VM(mp_kbd_exception).traceback_alloc = 0;
MP_STATE_VM(mp_kbd_exception).traceback_len = 0;
MP_STATE_VM(mp_kbd_exception).traceback_data = NULL;
MP_STATE_VM(mp_kbd_exception).args = mp_const_empty_tuple;
MP_STATE_VM(mp_kbd_exception).args = (mp_obj_tuple_t*)&mp_const_empty_tuple_obj;
#endif
// call port specific initialization if any