STM32CubeIDE routines will not return double values correctly
Hi,
i have a confusing problem, i have a simple routine to compute values and it needs to return the result as a double. just before the return the value is correct but the calling routine does not get passed this value. i know there can be some alignment issues with double variables. i am using STM32CubeIDE Ver 1.18.1 To overcome i simple create a global variable and assign this the right value and it all works. however why am i not able to return the double value?
any help appreciated.
Mark
