]> rtime.felk.cvut.cz Git - arc.git/commitdiff
added if mod_use checks around bsw modules
authorNiclas <devnull@localhost>
Fri, 4 May 2012 14:18:28 +0000 (16:18 +0200)
committerNiclas <devnull@localhost>
Fri, 4 May 2012 14:18:28 +0000 (16:18 +0200)
include/IoHwAb.h

index 9fec25b01e208f15083e48030f471859d3a4863a..1279b3cd2c2afee62d1650ee253b39f118a072c5 100644 (file)
 \r
 #include "IoHwAb_Cfg.h"\r
 #include "IoHwAb_Types.h"\r
+#if defined(USE_ADC)\r
 #include "IoHwAb_Analog.h"\r
+#endif\r
+#if defined(USE_DIO)\r
 #include "IoHwAb_Digital.h"\r
+#endif\r
+#if defined(USE_PWM)\r
 #include "IoHwAb_Pwm.h"\r
-\r
 #include "Pwm.h"\r
+#endif\r
+\r
 //#include "IoHwAb_Cbk.h"\r
 \r
 \r