Merge from trunk.
[bertos.git] / bertos / cpu / arm / drv / adc_at91.c
index faa0d1817f4379a3964daa2d8173c011a7d16f45..fadaa4bebeec70a37fba9506af604ec1f05a3ecb 100644 (file)
@@ -84,9 +84,9 @@
         * ADC ISR.
         * Simply signal the adc process that convertion is complete.
         */
-       static void ISR_FUNC adc_conversion_end_irq(void)
+       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;