Index: Common.h =================================================================== diff -u -r40deadb06926cbeb31b43654b07bd6824a05a5a7 -r0f360f63d0d90953ff43d086f01f055246aea907 --- Common.h (.../Common.h) (revision 40deadb06926cbeb31b43654b07bd6824a05a5a7) +++ Common.h (.../Common.h) (revision 0f360f63d0d90953ff43d086f01f055246aea907) @@ -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