summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-09-19 22:11:30 +0800
committerGitHub <[email protected]>2020-09-19 22:11:30 +0800
commit8302a7224302c0624b9918855a25e12f3a3ede59 (patch)
tree0849035b8d568b4fab4068070b7818e528cf88fc /libcpu
parent8afb8b1e294883f50bc17a67cfa4321e61140681 (diff)
parentab78ea1de1ce3841a36e4b2b08ce938c1a6fc4f8 (diff)
Merge pull request #3913 from Michael0066/master
MIPS:fix the RT_EXCEPTION_MAX value
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/mips/common/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/mips/common/exception.c b/libcpu/mips/common/exception.c
index 94be475878..3da8ecead6 100644
--- a/libcpu/mips/common/exception.c
+++ b/libcpu/mips/common/exception.c
@@ -74,7 +74,7 @@ void rt_hw_interrupt_enable(rt_base_t level)
/**
* exception handle table
*/
-#define RT_EXCEPTION_MAX 31
+#define RT_EXCEPTION_MAX 32
exception_func_t sys_exception_handlers[RT_EXCEPTION_MAX];
/**