Index: Common.h =================================================================== diff -u -rab9bf328124f0d24a9a25a1016e16d1eade4766d -r0e3bce52983dbf6b8f4a5d68ce814ff93ef0f860 --- Common.h (.../Common.h) (revision ab9bf328124f0d24a9a25a1016e16d1eade4766d) +++ Common.h (.../Common.h) (revision 0e3bce52983dbf6b8f4a5d68ce814ff93ef0f860) @@ -119,7 +119,7 @@ #define BITS_12_FULL_SCALE 4096 ///< Full scale range for 12 bit ADC or DAC #define BITS_14_FULL_SCALE 16384 ///< Full scale range for 14 bit ADC or DAC #define BITS_16_FULL_SCALE 65536 ///< Full scale range for 16 bit ADC or DAC -#define LR_OFFSET_WORD_IN_STACK 17 ///< Offset of the link register from the STACK_MARKER +#define LR_OFFSET_WORD_IN_STACK 22 ///< Offset of the link register from the STACK_MARKER #define STACK_MARKER 0xCAFECAFE ///< Location in the stack to determine the offset in word from the Link Register #define LR_OFFSET_ADJUSTMENT 4 ///< Adjust the content of the LR so that the Memory Access Violation does not get call continously