diff gsm-fw/bsp/abb+spi/abb_core_inth.h @ 149:971e84124a6f

gsm-fw/bsp/abb+spi: preening of header files, first pass
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 16 Nov 2013 19:41:30 +0000
parents 63750f70796d
children cc0944d35698
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/abb_core_inth.h	Sat Nov 16 19:03:37 2013 +0000
+++ b/gsm-fw/bsp/abb+spi/abb_core_inth.h	Sat Nov 16 19:41:30 2013 +0000
@@ -36,24 +36,17 @@
 #ifndef __ABB_CORE_INTH_H__
 #define __ABB_CORE_INTH_H__
 
-  #include "l1sw.cfg"
-
-  #if (OP_L1_STANDALONE == 0)
-    #include "main/sys_types.h"
-  #else
-    #include "sys_types.h"
-  #endif
+  #include "../../include/config.h"
+  #include "../../include/sys_types.h"
 
   #ifndef _WINDOWS
 
-    #include "chipset.cfg"
-  
     // Structure definition for ADC READING RESULT REPORTS
     // Define the maximum number of measures performed by the MADC module
-    #if ((ANLG_FAM == 1) || (ANLG_FAM == 3))
+    #if ((ANALOG == 1) || (ANALOG == 3))
       #define MADC_NUMBER_OF_MEAS  (9)
     #endif
-    #if (ANLG_FAM == 2)
+    #if (ANALOG == 2)
       #define MADC_NUMBER_OF_MEAS  (8)
     #endif