fix build without mbedtls submodule initialized, and fix deoptimized debug build (#1067)
This commit is contained in:
@ -396,7 +396,7 @@ __force_inline static int32_t __mul_instruction(int32_t a, int32_t b) {
|
||||
*
|
||||
* \return the exception number if the CPU is handling an exception, or 0 otherwise
|
||||
*/
|
||||
inline uint __get_current_exception(void) {
|
||||
static inline uint __get_current_exception(void) {
|
||||
uint exception;
|
||||
asm ("mrs %0, ipsr" : "=l" (exception));
|
||||
return exception;
|
||||
|
Reference in New Issue
Block a user