diff --git a/neureka/bsp/astral/neureka_astral_bsp.c b/neureka/bsp/astral/neureka_astral_bsp.c index 4668588..95b663e 100644 --- a/neureka/bsp/astral/neureka_astral_bsp.c +++ b/neureka/bsp/astral/neureka_astral_bsp.c @@ -93,8 +93,10 @@ void neureka_astral_event_wait_and_clear() { } static const neureka_dev_t neureka_astral_dev = { - .hwpe_dev = (struct hwpe_dev_t){ - .base_addr = (volatile uint32_t *)NEUREKA_ASTRAL_BASE_ADDR}}; + .hwpe_dev = (struct hwpe_dev_t) { + .base_addr = (volatile uint32_t *) NEUREKA_ASTRAL_BASE_ADDR + } +}; const neureka_dev_t *neureka_astral_get_dev() { return &neureka_astral_dev; diff --git a/neureka/hal/neureka_task_defs.h b/neureka/hal/neureka_task_defs.h index 952bd82..11abf8f 100644 --- a/neureka/hal/neureka_task_defs.h +++ b/neureka/hal/neureka_task_defs.h @@ -46,8 +46,6 @@ #define NEUREKA_ECC_REGS_NUM (4) -#define NEUREKA_ECC_REGS_NUM (4) - /* TASK REGISTERS */ // job configuration