From 781d58e08757b1c714d7b320c5323ab71e80428b Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 27 Aug 2008 14:26:35 +0000 Subject: [PATCH] Update to new macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1728 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/drv/adc_avr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1