X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fhw%2Finit_lpc2.c;h=033216d1d93540be4ea4430367c003c2f5022e38;hb=2c8af54b2053cae5a6b5ff073cfd94606b21920a;hp=f08d2a326e032999590ec74193320a9eaddca728;hpb=b62033eb38e71d3faf889b45227c44515c8a2a4f;p=bertos.git diff --git a/bertos/cpu/arm/hw/init_lpc2.c b/bertos/cpu/arm/hw/init_lpc2.c index f08d2a32..033216d1 100644 --- a/bertos/cpu/arm/hw/init_lpc2.c +++ b/bertos/cpu/arm/hw/init_lpc2.c @@ -36,6 +36,7 @@ * notest:arm */ #include +#include #include #if CPU_FREQ != 72000000UL @@ -119,3 +120,10 @@ void __init1(void) /* Memory accelerator module fully enabled */ MAMCR = 0x02; } + +void __init2(void); + +void __init2(void) +{ + vic_init(); +}