summaryrefslogtreecommitdiff
path: root/hw/bsp/ea4357
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/ea4357
parentef651e073409bac1a9793d97bf5a25220913f32e (diff)
fix vector assign
Diffstat (limited to 'hw/bsp/ea4357')
-rw-r--r--hw/bsp/ea4357/ea4357.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/ea4357/ea4357.c b/hw/bsp/ea4357/ea4357.c
index 69d2c3cc1..56653bd1b 100644
--- a/hw/bsp/ea4357/ea4357.c
+++ b/hw/bsp/ea4357/ea4357.c
@@ -88,7 +88,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();