From 723c61377f4d2ce0c10bc4ae4134bf82d098d079 Mon Sep 17 00:00:00 2001 From: Niclas Date: Fri, 4 May 2012 16:18:28 +0200 Subject: [PATCH] added if mod_use checks around bsw modules --- include/IoHwAb.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/IoHwAb.h b/include/IoHwAb.h index 9fec25b0..1279b3cd 100644 --- a/include/IoHwAb.h +++ b/include/IoHwAb.h @@ -31,11 +31,17 @@ #include "IoHwAb_Cfg.h" #include "IoHwAb_Types.h" +#if defined(USE_ADC) #include "IoHwAb_Analog.h" +#endif +#if defined(USE_DIO) #include "IoHwAb_Digital.h" +#endif +#if defined(USE_PWM) #include "IoHwAb_Pwm.h" - #include "Pwm.h" +#endif + //#include "IoHwAb_Cbk.h" -- 2.39.2