change error type to runtime
This commit is contained in:
parent
f724647a45
commit
74cc55b107
|
@ -45,7 +45,7 @@
|
||||||
do {\
|
do {\
|
||||||
uint32_t _err = (_exp);\
|
uint32_t _err = (_exp);\
|
||||||
if (NRFX_SUCCESS != _err ) {\
|
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)
|
}while(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue