Commit b27b7c6d authored by Xiang W's avatar Xiang W Committed by Anup Patel
Browse files

firmware: fw_base: Simplified setup trap handler



The same detection was done twice when setting mtvec and trap_exit.
Merging can reduce code size.

Signed-off-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent fdf5589f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment