X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcpu%2Farm%2Fdrv%2Fadc_at91.c;h=66d0bde9c2335c66417e1d6b25d888c2171ede8e;hb=9f1e77249c5475b19340e46b9903c66da6c6c937;hp=7fd50ddf24eae8ff05fe80a0f3b21953720de41e;hpb=32d1445272120a254d77ce8d1af1f527da7a2c17;p=bertos.git diff --git a/bertos/cpu/arm/drv/adc_at91.c b/bertos/cpu/arm/drv/adc_at91.c index 7fd50ddf..66d0bde9 100644 --- a/bertos/cpu/arm/drv/adc_at91.c +++ b/bertos/cpu/arm/drv/adc_at91.c @@ -40,7 +40,6 @@ * whit a loop the finishing of conversion. * * - * \version $Id$ * \author Daniele Basile */ @@ -86,7 +85,7 @@ */ static DECLARE_ISR(adc_conversion_end_irq) { - sig_signal(adc_process, SIG_ADC_COMPLETE); + sig_post(adc_process, SIG_ADC_COMPLETE); /* Inform hw that we have served the IRQ */ AIC_EOICR = 0; @@ -184,6 +183,7 @@ void adc_hw_init(void) #endif /* \} */ + LOG_INFO("Computed ADC_CLOCK %ld\n", ADC_COMPUTED_CLOCK); LOG_INFO("prescaler[%ld], stup[%ld], shtim[%ld]\n",ADC_COMPUTED_PRESCALER, ADC_COMPUTED_STARTUPTIME, ADC_COMPUTED_SHTIME);