change error type to runtime

This commit is contained in:
hathach 2018-09-25 17:31:53 +07:00
parent f724647a45
commit 74cc55b107

View File

@ -45,7 +45,7 @@
do {\
uint32_t _err = (_exp);\
if (NRFX_SUCCESS != _err ) {\
mp_raise_msg_varg(&mp_type_AssertionError, translate("error = 0x%08lX "), _err);\
mp_raise_msg_varg(&mp_type_RuntimeError, translate("error = 0x%08lX "), _err);\
}\
}while(0)