From c95b2969c75d5c5a36b29ea14d081c9e2c6379df Mon Sep 17 00:00:00 2001 From: nier Date: Mon, 16 Apr 2012 15:51:25 +0200 Subject: [PATCH] added macro for extern declaration of calibration parameters --- include/CalibrationData.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/CalibrationData.h b/include/CalibrationData.h index 054dc9f4..e4dfbde2 100644 --- a/include/CalibrationData.h +++ b/include/CalibrationData.h @@ -10,5 +10,6 @@ extern char __CALIB_RAM_END; extern char __CALIB_ROM_START; #endif /* CALIBRATION_ENABLED */ #define ARC_DECLARE_CALIB(type, name) type __attribute__((section (".calibration"))) name +#define ARC_DECLARE_CALIB_EXTERN(type, name) extern type name #endif /* CALIBRATIONDATA_H_ */ -- 2.39.2