py/runtime: Fix incorrect test for MICROPY_PORT_DEINIT_FUNC.

This commit is contained in:
stijn 2018-09-10 09:04:16 +02:00 committed by Damien George
parent 5615273bb0
commit 89516b2b62

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
}