From: batt Date: Wed, 27 Aug 2008 14:26:35 +0000 (+0000) Subject: Update to new macro. X-Git-Tag: 2.0.0~206 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=781d58e08757b1c714d7b320c5323ab71e80428b;p=bertos.git Update to new macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1728 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/adc_avr.c b/bertos/cpu/avr/drv/adc_avr.c index 942345a7..35bbeb66 100644 --- a/bertos/cpu/avr/drv/adc_avr.c +++ b/bertos/cpu/avr/drv/adc_avr.c @@ -37,6 +37,7 @@ #include "adc_avr.h" +#include // IRQ_ASSERT_ENABLED() #include "cfg/cfg_adc.h" #include "cfg/cfg_kern.h" #include @@ -106,7 +107,7 @@ INLINE uint16_t adc_hw_read(void) #if CONFIG_KERN // Ensure IRQs enabled. - ASSERT(IRQ_ENABLED()); + IRQ_ASSERT_ENABLED(); adc_process = proc_current(); sig_wait(SIG_ADC_COMPLETE); #else