X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=inline;f=src%2Flpc%2Fao_timer_lpc.c;h=51e82525383fb381c7ba795f82197d338216b911;hb=f9d0eb3f3154f98abb0c8952d7171f3e7d3de9b2;hp=aa796acf9b0da1f2a7c84486a44e4ff8cfffd6bc;hpb=04b243e6ef212f54ed284cfbde6d5abb637bf60e;p=fw%2Faltos diff --git a/src/lpc/ao_timer_lpc.c b/src/lpc/ao_timer_lpc.c index aa796acf..51e82525 100644 --- a/src/lpc/ao_timer_lpc.c +++ b/src/lpc/ao_timer_lpc.c @@ -61,7 +61,7 @@ ao_timer_set_adc_interval(uint8_t interval) } #endif -#define SYSTICK_RELOAD ((AO_LPC_CLKOUT / 2) / 100 - 1) +#define SYSTICK_RELOAD ((AO_LPC_SYSCLK / 2) / 100 - 1) /* Initialize our 100Hz clock */ void