]> rtime.felk.cvut.cz Git - arc.git/commitdiff
added macro for extern declaration of calibration parameters Ticket1301
authornier <devnull@localhost>
Mon, 16 Apr 2012 13:51:25 +0000 (15:51 +0200)
committernier <devnull@localhost>
Mon, 16 Apr 2012 13:51:25 +0000 (15:51 +0200)
include/CalibrationData.h

index 054dc9f4626704ce4df6af55d766cd5f254160f6..e4dfbde2251772006a25aaaa2bbb565b521a61b5 100644 (file)
@@ -10,5 +10,6 @@ extern char __CALIB_RAM_END;
 extern char __CALIB_ROM_START;\r
 #endif /* CALIBRATION_ENABLED */\r
 #define ARC_DECLARE_CALIB(type, name) type __attribute__((section (".calibration"))) name\r
+#define ARC_DECLARE_CALIB_EXTERN(type, name) extern type name\r
 \r
 #endif /* CALIBRATIONDATA_H_ */\r