From 011ed26bac49e28e10662f8c892b3ffcd6a3fcfa Mon Sep 17 00:00:00 2001 From: David Lin Date: Mon, 24 Feb 2020 20:12:23 +0800 Subject: [PATCH] [bsp/hifive1]Fixed symbol error in interrupt.c Note that the symbol ';;' is wrong in 'return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;', so that ';;' should been replaced with ';'. --- bsp/hifive1/drivers/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/hifive1/drivers/interrupt.c b/bsp/hifive1/drivers/interrupt.c index 30c5279a62..506e80f451 100644 --- a/bsp/hifive1/drivers/interrupt.c +++ b/bsp/hifive1/drivers/interrupt.c @@ -93,7 +93,7 @@ void rt_hw_interrupt_init(void) rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq) { - return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);; + return (rt_uint32_t)PLIC_claim_interrupt(&g_plic); } void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)