summaryrefslogtreecommitdiff
path: root/bsp/drivers/clic/clic_driver.c
diff options
context:
space:
mode:
authorDrew Barbier <dbarbi1@gmail.com>2018-09-11 22:09:32 -0500
committerDrew Barbier <dbarbi1@gmail.com>2018-09-11 22:09:32 -0500
commit12405e8ca6e08f2f3a49d412c635384fd54c6be0 (patch)
tree1dd454adbf00d0fdd63d74b324d91d1c7b445c25 /bsp/drivers/clic/clic_driver.c
parent1357d52858171e2c0960d0f124461dbe9e614de0 (diff)
fix for loop
Diffstat (limited to 'bsp/drivers/clic/clic_driver.c')
-rw-r--r--bsp/drivers/clic/clic_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/drivers/clic/clic_driver.c b/bsp/drivers/clic/clic_driver.c
index 0612e58..136ccee 100644
--- a/bsp/drivers/clic/clic_driver.c
+++ b/bsp/drivers/clic/clic_driver.c
@@ -30,7 +30,7 @@ void clic_init (
this_clic->num_config_bits= num_config_bits;
//initialize vector table
- for(int i=0;i++;i<num_irq) {
+ for(int i=0;i<num_irq;i++) {
this_clic->vect_table[i] = default_handler;
}