Need help with passing a float array into a function to transmit floats out of USB port.
I'm trying to transmit a 4D array of floats from an stm32l552zet6q to a PC using a USB connection. I can collect the array elements and store them, but when I pass the array into the transmission function, I don't see the same elements.
This image is of the array values as they should be, and are when outside the sendData and sendMatrix functions.
And this image is what arrives inside the sendData/sendMatrix functions:

Additionally, I cannot get sprintf to format a string with ANY float values, as shown in the below screenshot
The test matrix I've declared is a local variable with a defined size (test[4][35][42][3]).
I've tried altering the code to instead use pointers to the test matrix, but I get the exact same results, though it's entirely possible I was using them incorrectly. Any assistance is appreciated.
