summaryrefslogtreecommitdiff
path: root/hw/bsp/ngx4330
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-03 23:48:56 +0700
committerhathach <[email protected]>2020-09-03 23:48:56 +0700
commit4ecedc70c8cbec366c7eb6dc90c99c7cce27407e (patch)
treebe74c9d2ead700cee328ca6e615b10c2cad26255 /hw/bsp/ngx4330
parentef651e073409bac1a9793d97bf5a25220913f32e (diff)
fix vector assign
Diffstat (limited to 'hw/bsp/ngx4330')
-rw-r--r--hw/bsp/ngx4330/ngx4330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/ngx4330/ngx4330.c b/hw/bsp/ngx4330/ngx4330.c
index dda3bc092..2e4ff9af9 100644
--- a/hw/bsp/ngx4330/ngx4330.c
+++ b/hw/bsp/ngx4330/ngx4330.c
@@ -76,7 +76,7 @@ void SystemInit(void)
#ifdef __USE_LPCOPEN
extern void (* const g_pfnVectors[])(void);
unsigned int *pSCB_VTOR = (unsigned int *) 0xE000ED08;
- *pSCB_VTOR = (unsigned int) &g_pfnVectors;
+ *pSCB_VTOR = (unsigned int) g_pfnVectors;
#if __FPU_USED == 1
fpuInit();