\r
#include "Calibration_Settings.h"\r
\r
-#ifdef CALIBRATION_ACTIVE\r
+#ifdef CALIBRATION_ENABLED\r
/* Section data from linker script. */\r
extern char __CALIB_RAM_START;\r
extern char __CALIB_RAM_END;\r
extern char __CALIB_ROM_START;\r
+#endif /* CALIBRATION_ENABLED */\r
#define ARC_DECLARE_CALIB(type, name) type __attribute__((section (".calibration"))) name\r
-#else\r
-#define ARC_DECLARE_CALIB(type, name) const type name\r
-#endif /* CALIBRATION_ACTIVE */\r
-\r
-\r
+#define ARC_DECLARE_CALIB_EXTERN(type, name) extern type name\r
\r
#endif /* CALIBRATIONDATA_H_ */\r