py/runtime: Fix incorrect test for MICROPY_PORT_DEINIT_FUNC.

pull/1/head
stijn 2018-09-10 09:04:16 +02:00 committed by Damien George
parent 5615273bb0
commit 89516b2b62
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void mp_deinit(void) {
//mp_map_deinit(&MP_STATE_VM(mp_loaded_modules_map));
// call port specific deinitialization if any
#ifdef MICROPY_PORT_INIT_FUNC
#ifdef MICROPY_PORT_DEINIT_FUNC
MICROPY_PORT_DEINIT_FUNC;
#endif
}