summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang bo <[email protected]>2021-11-18 10:08:01 +0800
committerHuang bo <[email protected]>2021-11-18 10:08:01 +0800
commitc69cdadd69bdc2733b2774997c62006eaad4cce6 (patch)
tree3e0e7a6752086bb2d09d53a35b8742d42b0c5d91
parent17246ed77bad3e00941555e225dd35a754ba143c (diff)
修改格式
-rw-r--r--libcpu/ti-dsp/c6x/interrupt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcpu/ti-dsp/c6x/interrupt.c b/libcpu/ti-dsp/c6x/interrupt.c
index 6479da02f2..1bfc19cbdd 100644
--- a/libcpu/ti-dsp/c6x/interrupt.c
+++ b/libcpu/ti-dsp/c6x/interrupt.c
@@ -45,9 +45,9 @@ void rt_hw_interrupt_init(void)
void rt_hw_interrupt_mask(int vector)
{
if (vector < 0 || vector >= MAX_HANDLERS)
- {
+ {
return;
- }
+ }
}
/**
@@ -57,9 +57,9 @@ void rt_hw_interrupt_mask(int vector)
void rt_hw_interrupt_umask(int vector)
{
if (vector < 0 || vector >= MAX_HANDLERS)
- {
+ {
return;
- }
+ }
}
/**
@@ -93,7 +93,7 @@ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
void rt_hw_interrupt_clear(int vector)
{
if (vector < 0 || vector >= MAX_HANDLERS)
- {
- return;
- }
+ {
+ return;
+ }
}