fix vector assign

This commit is contained in:
hathach
2020-09-03 23:48:56 +07:00
parent ef651e0734
commit 4ecedc70c8
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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();